Learn R Programming

Seurat (version 3.1.4)

ReadAlevin: Load in data from Alevin pipeline

Description

Enables easy loading of binary format matrix provided by Alevin

Usage

ReadAlevin(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 <- ReadAlevin(base.path = data_dir)
seurat_object = CreateSeuratObject(counts = expression_matrix)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab