draw_heatmap: Draw sample-to-sample heatmap

Description Usage Arguments Value Author(s) Examples

View source: R/draw_cluster.R

Description

Create and draw a sample-to-sample heatmap using the metric distances.

Usage

1
draw_heatmap(hlaMetric, ...)

Arguments

hlaMetric

an object of class hlaMetric that contain the distance between samples.

...

arguments passed to the Heatmap method

Value

A Heatmap-class object.

Author(s)

Astrid DeschĂȘnes, Pascal Belleau

Examples

1
2
3
4
5
6
7
8
## Load example dataset
data(demoHLADataset)

## Calculate Hamming distance metric
hammingMetric <- calculateHamming(demoHLADataset)

## Create sample-to-sample heatmap
draw_heatmap(hammingMetric)

NCBI-Hackathons/HLAClustRView documentation built on Nov. 22, 2019, 6:11 a.m.