heatmap_differential {cinaR}R Documentation

heatmap_differential

Description

plot differentially accessible peaks for a given comparison

Usage

heatmap_differential(results, comparison = NULL, ...)

Arguments

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'

Value

ggplot object

Examples


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)


[Package cinaR version 0.2.3 Index]