load_counts: load counts

View source: R/scRNA1.R

load_countsR Documentation

load counts

Description

Load counts from datapath and return a seurat object

Usage

load_counts(datapath, datatype = 0)

Arguments

datapath

character, indicating data path of counts, if it is 10X data, please input the path of folder which containing matrix.mtx.gz, features.tsv.gz and barcodes.tsv.gz

datatype

10X:datatype = 0, counts:datatype = 1, sparse matrix:datatype = 2

Value

return a seurat object

Examples

## Not run: load_counts('D:/scRNA/10X',datatype=1)

jiang-junyao/IReNA documentation built on Nov. 15, 2024, 1:51 a.m.