comp.fams | R Documentation |
Give diagnostic information indicating how well two sets of clusters conform.
comp.fams(fam1,fam2)
fam1 |
A list of clusters; each component in the list is one family, containing the indices of the individuals in that family. |
fam2 |
A list, just like |
A list with two components. The first component is a contingency
table whose (i,j)th element is the number of individuals in cluster i
in fam1
and cluster j in fam2
. The second component is
a list indicating, for each cluster from fam1
, the cluster
assignment in fam2
.
Karl W Broman broman@wisc.edu
cluster.stat
,
fingers
,
true.fams
data(aedes)
f <- freq(aedes)
co <- cutoff(f)
d <- calc.dist(aedes)
fam <- fingers(d,co,make.plot=TRUE)
tf <- true.fams(aedes)
comp.fams(fam,tf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.