heatmap_plotter: Heatmap Plotter

View source: R/heatmap.R

heatmap_plotterR Documentation

Heatmap Plotter

Description

This function allows you to plot a heatmap

Usage

heatmap_plotter(se, assay, nfeature, annotation_column, log_option)

Arguments

se

SummarizedExperiment

assay

normalized or corrected assay

nfeature

number of features to display

annotation_column

choose column

log_option

TRUE if data should be logged before plotting (recommended for sequencing counts), FALSE if data should not be logged (for instance, data is already logged)

Value

heatmap plot

Examples

library(scran)
se <- mockSCE()
heatmaps <- BatchQC::heatmap_plotter(se,
                                assay = "counts",
                                nfeature = 15,
                                annotation_column = c("Mutation_Status",
                                "Treatment"), log_option = FALSE)
correlation_heatmap <- heatmaps$correlation_heatmap
correlation_heatmap

heatmap <- heatmaps$topn_heatmap
heatmap


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