| wtVariables {limma} | R Documentation |
Extracts variable names from weight functions such as wtarea, wtflags, wtIgnore.Filter and user defined functions for fast loading in read.maimages.
wtVariables(x, fun)
x |
A character vector of all columns to search against |
fun |
A weight function to search for any of the possible columns in x |
This is an internally called function by getColClasses which constructs a colClasses vector for fast loading of only required columns in read.maimages
Vector of columns required within read.maimages
Gordon Smyth
searchcols <- c("area","Flags","Ignore Filter")
wtVariables(searchcols, wtarea)
wtVariables(searchcols, wtflags)
wtVariables(searchcols, wtIgnore.Filter)
rm(searchcols) # tidy up