R/read_pcl.R

Defines functions read_pcl

Documented in read_pcl

read_pcl <-
function(filename, na.type = "", Nrows = -1, 
Comment.char = "",...) {
    x.df <- read.table(paste(filename,
    "pcl",sep = "."), header = TRUE, sep = "\t", 
    quote = "\"", na.strings = na.type, skip = 0,
    nrows = Nrows, comment.char = Comment.char,...);
    x.df$CLID <- as.vector(x.df$CLID, mode = "character");
    x.df$NAME <- as.vector(x.df$NAME, mode = "character");
    rownames(x.df) <- x.df$CLID;
    return(x.df)
}

Try the TTMap package in your browser

Any scripts or data that you put into this service are public.

TTMap documentation built on Nov. 8, 2020, 7:30 p.m.