AvgExpression | R Documentation |
This is a wrapper around Seurat::AverageExpression, which computes the AverageExpression per group (all assays), then flattens this to a single data frame. It also saves library size and total cells per group.
AvgExpression(seuratObj, groupField, layer = "counts")
seuratObj |
The seurat object |
groupField |
The field on which to group. Must be present in seuratObj@meta.data |
layer |
The layer on which to calculate average expression |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.