| readSCP {scp} | R Documentation |
Convert tabular quantitative MS data and metadata from a
spreadsheet or a data.frame into a QFeatures object containing
SingleCellExperiment objects.
readSCP(quantTable, metaTable, batchCol, channelCol, verbose = TRUE, ...)
quantTable |
File or object holding the quantitative
data. Can be either a |
metaTable |
A |
batchCol |
A |
channelCol |
A |
verbose |
A |
... |
Further arguments that can be passed on to read.csv
except |
An instance of class QFeatures. The expression data of each batch is stored in a separate assay as a SingleCellExperiment object.
The SingleCellExperiment class is built on top of the
RangedSummarizedExperiment class. This means that some column names
are forbidden in the rowData. Avoid using the following names:
seqnames, ranges, strand, start, end,
width, element
Laurent Gatto, Christophe Vanderaa
## Load an example table containing MaxQuant output
data("mqScpData")
## Load the (user-generated) annotation table
data("sampleAnnotation")
## Format the tables into a QFeatures object
readSCP(quantTable = mqScpData,
metaTable = sampleAnnotation,
batchCol = "Set",
channelCol = "Channel")