This function takes a Seurat object as input and creates a pseudo-bulk for each sample in the object. This is calculated by taking row means of the expression for each sample.

bulk_sample(data, ncores = 1)

Arguments

data

A Seurat object containing expression.

ncores

Number of cores for parallel computation.

Value

A Seurat object containing the pseudo-bulks for each sample in the input data.