plotSampleInfo: Plot the user-defined meta data using alluvium plot

View source: R/plotSampleInfo.R

plotSampleInfoR Documentation

Plot the user-defined meta data using alluvium plot

Description

Plot the user-defined meta data using alluvium plot

Usage

plotSampleInfo(spe_object, column2plot, textsize = 3)

Arguments

spe_object

A SpatialExperiment object.

column2plot

Which columns to plot.

textsize

text size.

Value

A ggplot object

Examples

library(ggalluvial)

data("dkd_spe_subset")
plotSampleInfo(dkd_spe_subset, column2plot = c("SlideName", "disease_status", "region"))


DavisLaboratory/standR documentation built on Sept. 8, 2024, 9:57 p.m.