pbMDS: Pseudobulk-level MDS plot

View source: R/pbMDS.R

pbMDSR Documentation

Pseudobulk-level MDS plot

Description

Renders a multidimensional scaling (MDS) where each point represents a cluster-sample instance; with points colored by cluster ID and shaped by group ID.

Usage

pbMDS(x)

Arguments

x

a SingleCellExperiment containing cluster-sample pseudobulks as returned by aggregateData with argument by = c("cluster_id", "sample_id").

Value

a ggplot object.

Author(s)

Helena L Crowell & Mark D Robinson

Examples

data(example_sce)
pb <- aggregateData(example_sce)
pbMDS(pb)


HelenaLC/muscat documentation built on June 25, 2022, 8:20 a.m.