select_cutoff | R Documentation |
Select the cutoff for binary cut
select_cutoff(
mat,
cutoff = seq(0.6, 0.98, by = 0.01),
verbose = se_opt$verbose,
...
)
mat |
A similarity matrix. |
cutoff |
A list of cutoffs to test. Note the range of the cutoff values should be inside |
verbose |
Whether to print messages. |
... |
Pass to |
Binary cut is applied to each 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.
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.