R/scmat_import.r
mcell_import_scmat_tsv.Rd
Load a matrix from a simple dense table with genes in rows and cells in columns. First column is the gene name
mcell_import_scmat_tsv(
mat_nm,
fn,
genes_fn = NULL,
meta_fn = NULL,
dset_nm = NULL,
force = FALSE,
paralogs_policy = "sum"
)
- the name of the new matrix in scdb
path of the matrix to read (columns names should represent Cell.IDs, rownames should represent gene names, values are expected to represent number of UMIs per gene per Cell)
meta data table to read. If this is null, all cells will be onsidred as part of a single Amp.Batch and Dataset.ID. The table must include at least the fields "Cell.ID", "Amp.Batch.ID", "Seq.Batch.ID", "Batch.Set.ID", where Cell.ID should match the names of cells in the data matrix.
- if true, will import from 10x files even when the matrix is present in the DB