Description Usage Arguments Details Examples
Select the cutoff for binary cut
1 | select_cutoff(mat, cutoff = seq(0.6, 0.98, by = 0.01), verbose = TRUE, ...)
|
mat |
A similarity matrix. |
cutoff |
A list of cutoffs to test. Note the range of the cutoff values should be inside [0.5, 1]. |
verbose |
Whether to print messages. |
... |
Pass to |
Binary cut is applied to each of the cutoff and the clustering results are evaluated by following metrics:
difference score, calculated by difference_score
.
number of clusters.
block mean, which is the mean similarity in the blocks in the diagonal of the heatmap.
1 2 3 | mat = readRDS(system.file("extdata", "random_GO_BP_sim_mat.rds",
package = "simplifyEnrichment"))
select_cutoff(mat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.