read10Xmatrices: read multiple 10x matrices into a single sparse array

Description Usage Arguments Value

View source: R/scLoad.R

Description

given a named list of paths of 10X matrices return a single large matrix with all the data and cell prefixed with the corresponding sample name

Usage

1
2
read10Xmatrices(paths, min.common.genes = 1000, common.genes = FALSE,
  merge = FALSE, prefix.cells = FALSE, prefix.sep = "_")

Arguments

paths

named vector of location of the data (readable by read10Xmatrix())

min.common.genes

minimum number of common genes to allow

common.genes

logical, subset all matrices to common genes, required for merge

merge

logical, merge all the matrices to one, requires common.genes and prefix.cells

prefix.cells

prefix all cells with the name of the respective path in paths

prefix.sep

separator for prefix of cells

Value

a sparce matrix of the Matrix package that contains all the data prefixes by the corresponding sample name


barkasn/nbHelpers documentation built on Oct. 10, 2020, 9:46 p.m.