Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gl.plot.heatmap

Represent a distance matrix as a heatmap


Description

The script plots a heat map to represent the distances in the distance or dissimilarity matrix

Usage

gl.plot.heatmap(D, verbose = NULL)

Arguments

D

– name of the distance matrix or class fd object [required]

verbose

– verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log ; 3, progress and results summary; 5, full report [default 2]

Author(s)

Arthur Georges (Post to https://groups.google.com/d/forum/dartr) as a wrapper for pheatmap by Raivo Kolde.

Examples

gl <- testset.gl[1:10,]
   D <- dist(as.matrix(gl),upper=TRUE,diag=TRUE)
   gl.plot.heatmap(D)
   D2 <- gl.dist.pop(testset.gl)
   gl.plot.heatmap(D2)
   D3 <- gl.fixed.diff(testset.gl)
   gl.plot.heatmap(D3)

dartR

Importing and Analysing SNP and Silicodart Data Generated by Genome-Wide Restriction Fragment Analysis

v1.9.6
GPL-2
Authors
Bernd Gruber [aut, cre], Arthur Georges [aut], Jose L. Mijangos [aut], Peter J. Unmack [ctb], Oliver Berry [ctb], Lindsay V. Clark [ctb], Floriaan Devloo-Delva [ctb]
Initial release
2021-04-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.