get_single_cell_expression_set: Generating a single cell expression set

View source: R/data_processing.R

get_single_cell_expression_setR Documentation

Generating a single cell expression set

Description

Generating a single cell expression set

Usage

get_single_cell_expression_set(
  single_cell_matrix,
  batch_ids,
  genes,
  cell_types
)

Arguments

single_cell_matrix

A matrix with the single-cell data. Rows are genes, columns are samples. Row and column names need to be set.

batch_ids

A vector of the ids of the samples or individuals.

genes

A vector of the names of the genes, basically rownames(single_cell_matrix).

cell_types

A Vector of the cell type annotations. Has to be in the same order as the samples in single_cell_object.

Value

A Biobase::ExpressionSet of the input data.


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