Methods for Sequences {oligo} | R Documentation |
Methods to access and create design matrices for sequences.
pmSequence(x) mmSequence(x) sequenceDesignMatrix(seqs)
x |
FeatureSet object. |
seqs |
character vector containing sequences of same length. |
pmSequence
and mmSequence
return a character vector with
the sequences for the PM and MM probes respectively.
sequenceDesignMatrix
returns a matrix of indicator variables
with length(seqs)
lines and 3*nchar(seqs[1])
columns. The name of the columns use the format X.Y standing for the
indicator variable of base X at position Y.
## Do not run ## ## FeatureSetObject <- read.celfiles(list.celfiles()) ## pmSeqs <- pmSequence(FeatureSetObject) ## dMatrix <- sequenceDesignMatrix(pmSeqs)