calculatePseudobulks: Trimmed mean pseudobulk and pseudopresence calculation

View source: R/function.R

calculatePseudobulksR Documentation

Trimmed mean pseudobulk and pseudopresence calculation

Description

Compute pseudobulks and pseudopresence values for a count matrix. The pseudobulk is the average expression count value for a single cluster of cells. The pseudopresence is the number of cells that a non-zero count was found in.

Usage

calculatePseudobulks(count.data, renormalize = FALSE, ...)

Arguments

count.data

Count data as a matrix, sparse matrix or Seurat object

Value

Pseudobulks, pseudopresence and cluster sizes

  • pseudobulks.sm - Sparse matrix with pseudobulk values

  • pseudopresence.sm - Sparse matrix with counts of cells that non-zero expression was found in

  • cluster_sizes.vec - Sizes of individual clusters


CopenhagenCenterForGlycomics/RGlycopacity documentation built on Oct. 31, 2024, 3:53 a.m.