Description Usage Arguments Details Value Author(s)
tf_similar is comparing the similarity of different group.
1 | tf_similar(real, cluster)
|
real |
is vector with the real group number. If we don't have the real group number, we also can input the result of some clustering method. |
cluster |
is vector with the result of clustering. |
tf_similar is comparing the similarity of different group. So the main purpose is checking the quality of clustering method. We show the rand index(RI), weight rand index(WRI), and adjust rand index(ARI) to compare. In order to compute the three kinds of index, we count the TT, TF, FT, FF, and the relation weight. The details of the function of the function are in paper of Tumor subclones detection with Dirichlet Process Mixture Model.
result is data.frame with 10 columns which contains the TT, TF, FT, FF, rand index(RI), weight rand index(WRI), adjust rand index(ARI), the weighted TT, the weighted TF, and the weight FT.
weight is data.frame with 3 columns which contains the weight about the TT, TF, and FT.
Peter Wu (peter123wu0@gmail.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.