View source: R/as.CoreMSData.R
as.CoreMSData | R Documentation |
Converts 'CoreMSrbind' object to 'CoreMSData' object
as.CoreMSData(
all_data,
index_cname = "Index",
obs_mass_cname = "m/z",
calib_mass_cname = "Calibrated m/z",
calc_mass_cname = "Calculated m/z",
pheight_cname = "Peak Height",
error_cname = "Mass Error (ppm)",
conf_cname = "Confidence Score",
heteroatom_cname = "Heteroatom Class",
iontype_cname = "Ion Type",
file_cname = "Filename",
monoiso_index_cname = "Mono Isotopic Index",
mf_cname = "Molecular Formula",
iso_cols = c("13C", "18O", "15N", "34S")
)
all_data |
a data.frame/CoreMSData object, should be the output of
|
index_cname |
a character string specifying the name of the column containing the index value |
obs_mass_cname |
a character string specifying the name of the column
containing the observed mass to charge ratio (m/z) in |
calib_mass_cname |
a character string specifying the name of the column
containing the calibrated mass to charge ratio (m/z) in |
calc_mass_cname |
a character string specifying the name of the column
containing the calculated mass to charge ratio (m/z) in |
pheight_cname |
a character string specifying the name of the column
containing the peak height in |
error_cname |
a character string specifying the name of the column
containing the mass error (ppm) in |
conf_cname |
a character string specifying the name of the column
containing the confidence score in |
heteroatom_cname |
a character string specifying the name of the
column containing the heteroatom class in |
iontype_cname |
a characer string specifying the name of the column
containing the ion type in |
file_cname |
a character string specifying the name of the column
containing the filenames in |
monoiso_index_cname |
a character string specifying the name of the
column containing the monoisotopic index in |
mf_cname |
a character string specifying the name of the column
containing the molecular formula in |
iso_cols |
a character vector specifying columns indicating the presence
of isotopic peaks, e.g. a column "13C" with T/F specifying the presence of
13C. Defaults to |
'CoreMSData' object, consisting of a list of two data frames
Natalie Winans
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.