matrix_to_singlecellexperiment: Convert count matrix to SingleCellExperiment

View source: R/data_processing.R

matrix_to_singlecellexperimentR Documentation

Convert count matrix to SingleCellExperiment

Description

Convert count matrix to SingleCellExperiment

Usage

matrix_to_singlecellexperiment(
  matrix,
  cell_labels,
  named_metadata_list = list()
)

Arguments

matrix

Matrix of single cell data (rows: genes, columns: cells), the row names of the matrix should be labeled with gene labels

cell_labels

Annotation vector for celltypes (e.g columns of matrix)

named_metadata_list

A named list containing unstructured metadata information (optional)

Value

SingleCellExperiment


PelzKo/immunedeconv2 documentation built on Feb. 12, 2025, 4:16 p.m.