flattenPB | R Documentation |
Flattens a pseudo-bulk SummarizedExperiment as produced by 'muscat::aggregateData' so that all cell types are represented in a single assay. Optionally normalizes the data and calculates per-sample logFCs.
flattenPB(pb, norm = TRUE, lfc_group = NULL)
pb |
a pseudo-bulk SummarizedExperiment as produced by 'muscat::aggregateData', with different celltypes/clusters are assays. |
norm |
Logical; whether to calculate logcpm (TMM normalization). |
lfc_group |
the colData column to use to calculate foldchange. If NULL (default), no foldchange assay will be computed. |
A SummarizedExperiment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.