Learn R Programming

Seurat (version 3.1.4)

ReadAlevinCsv: Load in data from Alevin pipeline

Description

Enables easy loading of csv format matrix provided by Alevin ran with `--dumpCsvCounts` flags.

Usage

ReadAlevinCsv(base.path)

Arguments

base.path

Directory containing the alevin/quant_mat* files provided by Alevin.

Value

Returns a matrix with rows and columns labeled

Examples

Run this code
# NOT RUN {
data_dir <- 'path/to/output/directory'
list.files(data_dir) # Should show alevin/quants_mat* files
expression_matrix <- ReadAlevinCsv(base.path = data_dir)
seurat_object = CreateSeuratObject(counts = expression_matrix)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab