Generating a vector recording the control status of the spotted probe sequences.
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).
maGenControls(Gnames, controlcode, id = "ID")
Gnames |
An object of class |
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 |
A vector of characters recording the control status of the spotted probe sequences.
Jean Yee Hwa Yang
data(swirl) maControls(swirl) <- maGenControls(maGnames(swirl), id="Name") table(maControls(swirl))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.