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)A Seurat object containing expression.
Number of cores for parallel computation.
A Seurat object containing the pseudo-bulks for each sample in the input data.