readSpotTypes {limma}R Documentation

Read Spot Types File

Description

Read a table giving regular expressions to identify different types of spots in the gene-dataframe.

Usage

readSpotTypes(file="SpotTypes.txt", sep="\t")

Arguments

file character string giving the name of the file specifying the spot types.
sep the field separator character

Details

The file is a text file with rows corresponding to types of spots and the following columns: SpotType gives the name for the spot type, ID is a regular expression matching the ID column, Name is a regular expression matching the Name column, and Color is the R name for the color to be associated with this type.

Value

A data frame with columns

SpotType character vector giving names of the spot types
ID character vector giving regular expressions
Name character vector giving regular expressions
Color character vector giving names of colors

Author(s)

Gordon Smyth

See Also

An overview of LIMMA functions for reading data is given in 3.ReadingData.


[Package Contents]