Description Usage Arguments Value Examples
The poplin class is designed to process LC/MS data. It is an extension of the standard SummarizedExperiment class, and supports additional containers for data processing results (e.g., normalization, imputation) via poplin_data_list and dimension reduction results (PCA, PLS-DA) via poplin_reduced_list.
1 2 | ## Constructor
poplin(..., poplin_data_list = list(), poplin_reduced_list = list())
|
... |
Arguments passed to the SummarizedExperiment constructor. |
poplin_data_list |
A list of matrix-like objects containing data processing results. |
poplin_reduced_list |
A list of matrix-like objects containing dimension reduction results. |
A poplin object
1 2 3 4 5 6 7 8 9 10 11 | nsamp <- 10
nfeature <- 200
intensity <- rlnorm(nsamp * nfeature, 10, 1)
m <- matrix(intensity, nrow = nfeature, ncol = nsamp)
rownames(m) <- paste0("F", seq_len(nrow(m)))
colnames(m) <- paste0("S", seq_len(ncol(m)))
poplin(assays = list(raw = m))
## Coercion from an SummarizedExperiment object
se <- SummarizedExperiment(assays = list(raw = m))
as(se, "poplin")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.