Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

readSpotTypes

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",path=NULL,sep="\t",check.names=FALSE,...)

Arguments

file

character string giving the name of the file specifying the spot types.

path

character string giving the directory containing the file. Can be omitted if the file is in the current working irectory.

sep

the field separator character

check.names

logical, if FALSE column names will not be converted to valid variable names, for example spaces in column names will not be left as is

...

any other arguments are passed to read.table

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 following idea of James Wettenhall

See Also

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


limma

Linear Models for Microarray Data

v3.46.0
GPL (>=2)
Authors
Gordon Smyth [cre,aut], Yifang Hu [ctb], Matthew Ritchie [ctb], Jeremy Silver [ctb], James Wettenhall [ctb], Davis McCarthy [ctb], Di Wu [ctb], Wei Shi [ctb], Belinda Phipson [ctb], Aaron Lun [ctb], Natalie Thorne [ctb], Alicia Oshlack [ctb], Carolyn de Graaf [ctb], Yunshun Chen [ctb], Mette Langaas [ctb], Egil Ferkingstad [ctb], Marcus Davy [ctb], Francois Pepin [ctb], Dongseok Choi [ctb]
Initial release
2020-10-19

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.