dendrogram_plotter | R Documentation |
This function creates a dendrogram plot
dendrogram_plotter(se, assay, batch_var, category_var)
se |
SummarizedExperiment object |
assay |
assay to plot |
batch_var |
sample metadata column representing batch |
category_var |
sample metadata column representing category of interest |
named list of dendrogram plots
dendrogram is a dendrogram ggplot
circular_dendrogram is a circular dendrogram ggplot
library(scran)
se <- mockSCE()
dendrogram_plot <- BatchQC::dendrogram_plotter(se,
"counts",
"Mutation_Status",
"Treatment")
dendrogram_plot$dendrogram
dendrogram_plot$circular_dendrogram
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.