dist.image | R Documentation |
Plot the distance matrix for a RAPD data set, with (optionally) lines drawn separating clusters of individuals.
dist.image(dist,fams=NULL,col=topo.colors(1+ncol(dist)),...)
dist |
A matrix of size (n.ind x n.ind), containing the distances between pairs of individuals. |
fams |
A list of clusters; each component in the list is one inferred family, containing the indices of individuals placed in that family. |
col |
Colors to use in the plot; see |
... |
Other arguments to pass to |
The function calls image
in order to create an
image of the distance matrix.
Karl W Broman broman@wisc.edu
calc.dist
,
true.fams
data(aedes)
f <- freq(aedes)
co <- cutoff(f)
d <- calc.dist(aedes)
fam <- fingers(d,co,make.plot=TRUE)
dist.image(d,fam)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.