View source: R/transformation_counts.R
transformation_counts | R Documentation |
Calculate and Count Observed Mass Transformations
transformation_counts(
ftmsObj,
transformDF,
transformDigits = 4,
transMass_cname,
transID_cname,
transOther_cname = NULL,
parallel = TRUE
)
ftmsObj |
an object of class 'peakData' or 'compoundData', typically a
result of |
transformDF |
a data.frame of known transformations of interest, with a minimum of two columns (in any order): column 'transMass_cname' gives the transformation masses which should be counted and column 'transID_cname' gives a unique identifier (usually character string) for each transformation mass |
transformDigits |
the number of decimal places that should be retained
for the purposes of matching observed transformations to transformations in
|
transMass_cname |
a character string giving the name of the column in
|
transID_cname |
a character string giving the name of the column in
|
transOther_cname |
a character vector specifying any other columns in
|
parallel |
logical, defaults to TRUE |
a data.frame with counts of the the number of times that each
transformation in transformDF
was observed in each sample
Lisa Bramer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.