Description Usage Arguments Details Value Author(s) See Also Examples
Identifies clusters, excluding individuals greater than the threshold from any member.
1 | tclust(distobj, threshold = 0.01)
|
distobj |
A distance object (usually from |
threshold |
Distance cutoff for clustering. Default of 0.01 (1%). |
If two individuals are more distant than threshold
from each other, but both within threshold
of a third, all three are contained in a single cluster.
A list with each element giving the index of the individuals contained in each cluster.
Samuel Brown <s_d_j_brown@hotmail.com>
1 2 3 4 5 6 7 8 9 10 | data(anoteropsis)
anoSpp <- sapply(strsplit(dimnames(anoteropsis)[[1]], split="_"),
function(x) paste(x[1], x[2], sep="_"))
anoDist <- dist.dna(anoteropsis)
tclust(anoDist)
#Names of individuals
anoClust <- tclust(anoDist)
lapply(anoClust, function(x) anoSpp[x])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.