load_mtx_data | R Documentation |
Load data from matrix market format
load_mtx_data(
mat_path,
gene_anno_path,
cell_anno_path,
umi_cutoff = 100,
matrix_control = list()
)
mat_path |
Path to the .mtx matrix market file. |
gene_anno_path |
Path to gene annotation file. |
cell_anno_path |
Path to cell annotation file. |
umi_cutoff |
UMI per cell cutoff, default is 100. |
matrix_control |
A list used to control how the counts matrix is stored in the CDS. By default, Monocle3 stores the counts matrix in-memory as a sparse matrix. Setting 'matrix_control=list(matrix_class="BPCells")', stores the matrix BPCells on-disk as a sparse matrix. |
cds object
pmat<-system.file("extdata", "matrix.mtx.gz", package = "monocle3")
prow<-system.file("extdata", "features_c3h0.txt", package = "monocle3")
pcol<-system.file("extdata", "barcodes_c2h0.txt", package = "monocle3")
cds <- load_mtx_data( pmat, prow, pcol)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.