heatmap_plotter | R Documentation |
This function allows you to plot a heatmap
heatmap_plotter(se, assay, nfeature, annotation_column, log_option)
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) |
heatmap plot
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.