| addXIC | R Documentation | 
A chromatogram and its repective native ID (transition ID) is added to MSExperiment object.
addXIC(ropenms, expriment, xic, nativeId)
ropenms | 
 (pyopenms module) get this python module through get_ropenms().  | 
expriment | 
 (python object) an MSExperiment() created using ropenms.  | 
xic | 
 (data-frame) must have two numeric columns.  | 
nativeId | 
 (integer) transition ID of the xic.  | 
(None)
Shubham Gupta, shubh.gupta@mail.utoronto.ca
ORCID: 0000-0003-3500-8152
License: (c) Author (2020) + GPL-3 Date: 2020-06-06
## Not run: 
ropenms <- get_ropenms(condaEnv = "envName", useConda=TRUE)
expriment <- ropenms$MSExperiment()
data(XIC_QFNNTDIVLLEDFQK_3_DIAlignR)
xic <- XIC_QFNNTDIVLLEDFQK_3_DIAlignR[["hroest_K120808_Strep10%PlasmaBiolRepl1_R03_SW_filt"]][["4618"]][[1]]
addXIC(ropenms, expriment, xic, 34L)
chroms <- expriment$getChromatograms()
reticulate::py_to_r(chroms[[0]]$getNativeID())
reticulate::py_to_r(chroms[[0]]$get_peaks())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.