pval_heatmap: Function to visualize p-values from multiHiCcompare results

Description Usage Arguments Details Value Examples

View source: R/plot_functions.R

Description

Function to visualize p-values from multiHiCcompare results

Usage

1
pval_heatmap(hicexp, alpha = NA, chr = 0)

Arguments

hicexp

A hicexp object that has been normalized and has had differences detected.

alpha

The alpha level at which you will call a p-value significant. If this is set to a numeric value then any p-values >= alpha will be set to 1 for the visualization in the heatmap. Defaults to NA for visualization of all p-values.

chr

The numeric value for the chromosome that you want to plot. Set to 0 to plot all chromosomes in the dataset.

Details

The goal of this function is to visualize where in the Hi-C matrix the differences are occuring between two experimental conditions. The function will produce a heatmap of the -log10(p-values) * sign(logFC) to visualize where the significant differences between the datasets are occuring on the genome.

Value

A heatmap

Examples

1
2
data("hicexp_diff")
pval_heatmap(hicexp_diff, chr = 22)

multiHiCcompare documentation built on Nov. 8, 2020, 7:04 p.m.