Load mtx formatted 10x or haircut matrices
1 2 3 4 | read_matrix(path, cell_prefix = NULL, strip_10x_suffix = TRUE,
use_gene_symbols = TRUE, split_matrix = FALSE,
matrix_fn = "matrix.mtx.gz", features_fn = "features.tsv.gz",
barcodes_fn = "barcodes.tsv.gz")
|
path |
path to directory with mtx matrix |
cell_prefix |
string to prefix to cell_id (default = NULL) |
strip_10x_suffix |
remove numeric suffix added by 10x e.g. change "TTTGTCAAGGTGTGGT-1" to "TTTGTCAAGGTGTGGT" (default = TRUE) |
use_gene_symbols |
If TRUE use gene symbols as row.names, if false then gene_ids will be used (default = TRUE) |
split_matrix |
Return a list of matrices split by feature types. Requires cellranger v.3 output. |
matrix_fn |
filename for matrix |
features_fn |
filename for genes file |
barcodes_fn |
filename for barcodes file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.