Description Usage Arguments Details Value Examples
Difference score
1 | difference_score(mat, cl)
|
mat |
The similarity matrix. |
cl |
Cluster labels. |
This function measures the different between the similarity values for the terms that belong to the same clusters and in different clusters. The difference score is the Kolmogorov-Smirnov statistic between the two distributions.
A numeric scalar.
1 2 3 4 | mat = readRDS(system.file("extdata", "random_GO_BP_sim_mat.rds",
package = "simplifyEnrichment"))
cl = binary_cut(mat)
difference_score(mat, cl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.