tf_similar: True or false of similar

Description Usage Arguments Details Value Author(s)

View source: R/tf_similar.R

Description

tf_similar is comparing the similarity of different group.

Usage

1
tf_similar(real, cluster)

Arguments

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.

Details

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.

Value

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.

Author(s)

Peter Wu (peter123wu0@gmail.com)


CSclone documentation built on May 2, 2019, 5:41 a.m.

Related to tf_similar in CSclone...