summarize_transitions | R Documentation |
Calculate a single intensity for molecules with multiple transitions, by determining the average or maximum intensity.
summarize_transitions(data, method = c("max", "average"))
data |
LipidomicsExperiment object. |
method |
Choose to summarize multiple transitions by taking the average
or maximum intensity. Default is |
A LipidomicsExperiment object with single intensities per lipid molecule
datadir <- system.file("extdata", package = "lipidr")
filelist <- list.files(datadir, "data.csv", full.names = TRUE)
d <- read_skyline(filelist)
clinical_file <- system.file("extdata", "clin.csv", package = "lipidr")
d <- add_sample_annotation(d, clinical_file)
d_summarized <- summarize_transitions(d, method = "average")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.