wtVariables {limma} | R Documentation

## Read RGList from Image Analysis Output Files

### Description

Extracts variable names from weight functions such as `wtarea`, `wtflags`, `wtIgnore.Filter` and user defined functions for fast loading in `read.maimages`.

### Usage

    wtVariables(x, fun)

### Arguments

`x` | A character vector of all columns to search against
`fun` | A weight function to search for any of the possible columns in x

### Details

This is an internally called function by `getColClasses` which constructs a colClasses vector for fast loading of only required columns in `read.maimages`

### Value

Vector of columns required within read.maimages

### Author(s)

Gordon Smyth

### See Also

`getColClasses` `read.table`

### Examples

    searchcols <- c("area","Flags","Ignore Filter")
    wtVariables(searchcols, wtarea)
    wtVariables(searchcols, wtflags)
    wtVariables(searchcols, wtIgnore.Filter)
    rm(searchcols) # tidy up

[Package limma version 2.8.1 Index]