heatmap.genotypes: Plot a heatmap representing genetic distances between samples

Description Usage Arguments Details Value

Description

Plot a heatmap representing genetic distances between samples

Usage

1
2
## S3 method for class 'genotypes'
heatmap(gty, d = NULL, ...)

Arguments

gty

a genotypes object

d

a distance matrix (of class dist), to avoid re-computing

...

ignored

Details

Computation of pairwise distances in a large set of samples will be somewhat expensive, so there is advantage to pre-computing this matrix (using argyle::dist()) if it may be useful in other analyses.

Value

a (hierarchically-clustered) matrix representation of pairwise genetic distances between samples, normalized to [0,1].


andrewparkermorgan/argyle documentation built on May 10, 2019, 11:08 a.m.