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/ddSingleCell documentation built on Feb. 21, 2023, 4:31 p.m.