read_10x_matrix: Load 10x mtx matrix as sparseMatrix

Description Usage Arguments

View source: R/utils.R

Description

Load 10x mtx matrix as sparseMatrix

Usage

1
2
read_10x_matrix(path, cell_prefix = NULL, strip_10x_suffix = TRUE,
  use_gene_symbols = TRUE)

Arguments

path

path to 10x 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)


hesselberthlab/scrunchy documentation built on Dec. 18, 2018, 2:33 a.m.