readSingleCellExperiment {scp} | R Documentation |
Convert tabular data from a spreadsheet or a data.frame
into a
SingleCellExperiment
object.
readSingleCellExperiment(table, ecol, fnames, ...)
table |
File or object holding the quantitative data. Can be
either a |
ecol |
A |
fnames |
An optional |
... |
Further arguments that can be passed on to read.csv
except |
An instance of class SingleCellExperiment.
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
The code relies on QFeatures::readSummarizedExperiment.
## Load a data.frame with PSM-level data data("mqScpData") ## Create the QFeatures object sce <- readSingleCellExperiment(mqScpData, grep("RI", colnames(mqScpData)))