View source: R/visualization_functions.R
heatmap_differential | R Documentation |
plot differentially accessible peaks for a given comparison
heatmap_differential(results, comparison = NULL, ...)
results |
cinaR result object |
comparison |
these are created by cinaR from 'contrasts' user provided. If not selected the first comparison will be shown! |
... |
additional arguments for heatmap function, for more info '?pheatmap' |
ggplot object
library(cinaR) data(atac_seq_consensus_bm) # calls 'bed' # a vector for comparing the examples contrasts <- sapply(strsplit(colnames(bed), split = "-", fixed = TRUE), function(x){x[1]})[4:25] results <- cinaR(bed, contrasts, reference.genome = "mm10") heatmap_differential(results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.