Plot the user-defined meta data using alluvium plot
plotSampleInfo(spe_object, column2plot, textsize = 3)
A SpatialExperiment object.
Which columns to plot.
text size.
A ggplot object
library(ggalluvial)
data("dkd_spe_subset")
plotSampleInfo(dkd_spe_subset, column2plot = c("SlideName", "disease_status", "region"))