Description Usage Arguments Details Value Author(s) References Examples
Construct a colClasses vector, an argument in read.table used in read.rg
1 | getColClasses(cols,...)
|
cols |
a character vector of all columns to search against |
... |
accepts any character lists, character vectors or weight functions to match wanted columns against cols |
This is an internally called function by read.rg to create a colClasses vector used in read.table for fast loading of only required columns in read.rg
Character. A named vector of classes to assumed for the columns. Possible values are NA
(when type.convert
is used), NULL (when the column is skipped).
Hui Zhao
getColClasses
in limma package
1 2 3 4 5 | allcnames <- c("Block","Column","Row","Name","ID", "F635 Mean","F532 Mean","Flag","Autoflag")
Annotation <- c("Block","Column")
Columns <- list(R="F635 Mean",G="F532 Mean")
getColClasses(allcnames, Annotation, Columns)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.