samplesHeatmap: Heatmap and cluster sample-sample distances

Description Usage Arguments Details Value Examples

View source: R/binned_pca.R

Description

Plot a gplots heatmap with the sample-sample distances.

Usage

1
samplesHeatmap(normalizedCounts, ...)

Arguments

normalizedCounts

The normalized data.frame with counts per bin as generated by normalizeTagCount.

...

Extra params sent to heatmap.2.

Details

This function uses the heatmap.2 function of gplots to assess the relationship between samples.

Value

The plotted distance matrix.

Examples

1
2
3
4
5
6
counts <- tagCount(
    samples=c("ctl1.bam", "ctl2.bam", "chip1.bam", "chip2.bam"),
    org="Mmusculus", assembly="UCSC", version="mm9"
)
nCounts <- normalizeTagCount(counts)
samplesHeatmap(nCounts)

imbforge/encodeChIPqc documentation built on May 18, 2019, 4:45 a.m.