Description Usage Arguments Value Author(s) References Examples
View source: R/PomaMSnSetClass.R
This function converts data frame objects to a MSnSet object.
1 | PomaMSnSetClass(target, features)
|
target |
Metadata variables structured in columns. Sample ID must be the first column and group/type/treatment of the study must be the second column. |
features |
Table of features. Each feature in one column. |
A MSnSet object.
Pol Castellano-Escuder
Laurent Gatto and Kathryn S. Lilley. MSnbase - an R/Bioconductor package for isobaric tagged mass spectrometry data visualization, processing and quantitation. Bioinformatics 28, 288-289 (2012).
1 2 3 4 5 6 7 8 9 10 | data(iris)
# create target: two column (or more) data frame with IDs and Group factor
target <- data.frame(ID = 1:150, Group = iris$Species)
# create features: p column data frame (or matrix) with features
features <- iris[,1:4]
# create an MSnSet object with POMA
object <- PomaMSnSetClass(target = target, features = features)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.