dendrogram_plotter: Dendrogram Plot

View source: R/dendrogram.R

dendrogram_plotterR Documentation

Dendrogram Plot

Description

This function creates a dendrogram plot

Usage

dendrogram_plotter(se, assay, batch_var, category_var)

Arguments

se

SummarizedExperiment object

assay

assay to plot

batch_var

sample metadata column representing batch

category_var

sample metadata column representing category of interest

Value

named list of dendrogram plots

dendrogram is a dendrogram ggplot

circular_dendrogram is a circular dendrogram ggplot

Examples

library(scran)
se <- mockSCE()
dendrogram_plot <- BatchQC::dendrogram_plotter(se,
                                            "counts",
                                            "Mutation_Status",
                                            "Treatment")
dendrogram_plot$dendrogram
dendrogram_plot$circular_dendrogram


compbiomed/BatchQC documentation built on April 23, 2024, 7:38 a.m.