Plot the user-defined meta data using alluvium plot

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"))