build_anndata: Create anndata object from single cell expression matrix,...

View source: R/data_processing.R

build_anndataR Documentation

Create anndata object from single cell expression matrix, cell type labels and gene symbols

Description

Create anndata object from single cell expression matrix, cell type labels and gene symbols

Usage

build_anndata(x, obs, var, obsm = NULL, varm = NULL)

Arguments

x

single cell expression matrix, rows = genes, columns = samples

obs

vector of cell type labels

var

vector of gene symbols

obsm

Key-indexed multi-dimensional observations annotation of length #observations.

varm

Key-indexed multi-dimensional variables annotation of length #variables.

Value

AnnData object


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