matrices_to_assayobjects: Matrices to 'AssayObjects'

View source: R/matrices_to_assayobjects.R

matrices_to_assayobjectsR Documentation

Matrices to AssayObjects

Description

Convert a named list of matrices to a named list of Seurat assay objects (see CreateAssayObject).

Usage

matrices_to_assayobjects(matrices, var_features = NULL, verbose = TRUE)

Arguments

matrices

A named list of matrices.

var_features

[Optional] A named list of feature metadata data.frames (one per unique assay in matrices) to be put in the meta.features slot of each AssayObject.

verbose

Print messages.

Value

a named list of Seurat assay objects.

Examples

obj <- example_obj("seurat")
l <- seurat_to_list(obj)
assaylist <- matrices_to_assayobjects(matrices = l$data,
                                      var_features = l$var_features)

bschilder/scKirby documentation built on April 22, 2024, 12:13 a.m.