Description Usage Arguments Value References Examples
View source: R/rand_index_test.R
This function performs Rand index test for association between two phylo
objects.
1 | RandIndexTest(dend1, dend2, k = 2, nperm)
|
dend1 |
An object of type |
dend2 |
A second object of type |
k |
An integer that specifies the number of clusters that the dendrogram should be cut into.
The default is |
nperm |
The number of times to permute tips of the |
A numeric value between 0 and 1 and permutation P value.
Rand, W.M. (1971) Objective criteria for the evaluation of clustering methods. Journal of the American Statistical Association 66: 846-850.
1 2 3 4 | data(ex_hapMat_data)
d1 <- reconstructPP(ex_hapMat_data, focalSNV = 1, minWindow = 1)
d2 <- reconstructPP(ex_hapMat_data, focalSNV = 5, minWindow = 1)
RandIndexTest(dend1 = d1, dend2 = d2, k = 5, nperm = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.