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

maGenControls

Generating a vector recording the control status of the spotted probe sequences.


Description

ControlCode is a matrix representing certain regular expression pattern and the control status of the spotted probe sequences. This function uses ‘grep’ searches for matches to ‘pattern’ (its first argument) within the character vector ‘x’ (second argument).

Usage

maGenControls(Gnames, controlcode, id = "ID")

Arguments

Gnames

An object of class matrix, data.frame or marrayInfo which contains description of spotted probe sequences.

controlcode

A character matrix of n by 2 columns. The first column contains a few regular expression of spotted probe sequences and the second column contains the corresponding control status.

id

the column number of column name in Gnames that contains description of each spot on the array.

Value

A vector of characters recording the control status of the spotted probe sequences.

Author(s)

Jean Yee Hwa Yang

See Also

Examples

data(swirl)
maControls(swirl) <- maGenControls(maGnames(swirl), id="Name")
table(maControls(swirl))

marray

Exploratory analysis for two-color spotted microarray data

v1.68.0
LGPL
Authors
Yee Hwa (Jean) Yang <jeany@maths.usyd.edu.au> with contributions from Agnes Paquet and Sandrine Dudoit.
Initial release
2009-08-15

We don't support your browser anymore

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