| exprsToRatios-methods {MSnbase} | R Documentation |
Calculations all possible ratios for the assayData columns in
an "MSnSet". The function
getRatios(x, log = FALSE) takes a matrix x as input and
is used by exprsToRatios.
signature(object = "MSnSet", log = "logical")If log is FALSE (default) the ratios for all the
assayData columns are computed; otherwise, log ratios
(differences) are calculated.
signature(object = "matrix", log = "logical")As above, but for a matrix instance.
data(msnset) pData(msnset) head(exprs(msnset)) r <- exprsToRatios(msnset) head(exprs(r)) pData(r)