View source: R/visualization_functions.R
heatmap_var_peaks | R Documentation |
plot most variable k peaks (default k = 100) among all samples
heatmap_var_peaks(results, heatmap.peak.count = 100, ...)
results |
cinaR result object |
heatmap.peak.count |
number of peaks to be plotted. If number of peaks are less than k then all peaks will be used. |
... |
additional arguments for heatmap function, for more info '?pheatmap' |
ggplot object
library(cinaR)
data(atac_seq_consensus_bm) # calls 'bed'
# creating dummy results
results <- NULL
results[["cp"]] <- bed[,c(4:25)]
heatmap_var_peaks(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.