Create a SingleCellExperiment object from files
importFromFiles( assayFile, annotFile = NULL, featureFile = NULL, assayName = "counts", inputDataFrames = FALSE, class = c("Matrix", "matrix"), delayedArray = FALSE, annotFileHeader = FALSE, annotFileRowName = 1, annotFileSep = "\t", featureHeader = FALSE, featureRowName = 1, featureSep = "\t", gzipped = "auto", rowNamesDedup = TRUE )
assayFile | The path to a file in .mtx, .txt, .csv, .tab, or .tsv format. |
---|---|
annotFile | The path to a text file that contains columns of annotation
information for each cell in the |
featureFile | The path to a text file that contains columns of
annotation information for each gene in the count matrix. This file should
have the same genes in the same order as |
assayName | The name of the assay that you are uploading. The default
is |
inputDataFrames | If |
class | Character. The class of the expression matrix stored in the SCE
object. Can be one of |
delayedArray | Boolean. Whether to read the expression matrix as
DelayedArray object or not. Default |
annotFileHeader | Whether there's a header (colnames) in the cell
annotation file. Default is |
annotFileRowName | Which column is used as the rownames for the cell
annotation file. This should match to the colnames of the |
annotFileSep | Separater used for the cell annotation file. Default is
|
featureHeader | Whether there's a header (colnames) in the feature
annotation file. Default is |
featureRowName | Which column is used as the rownames for the feature
annotation file. This should match to the rownames of the |
featureSep | Separater used for the feature annotation file. Default is
|
gzipped | Whether the input file is gzipped. Default is |
rowNamesDedup | Boolean. Whether to deduplicate rownames. Default
|
a SingleCellExperiment object
Creates a SingleCellExperiment object from a counts file in various formats, and files of cell and feature annotation.