Description Usage Arguments Value Examples
Cluster functional terms by recursively binary cutting the similarity matrix
1 2 | binary_cut(mat, value_fun = median, partition_fun = partition_by_pam,
cutoff = 0.85, cache = FALSE, try_all_partition_fun = FALSE)
|
mat |
A similarity matrix. |
value_fun |
Value function to calculate the score for each node in the dendrogram. |
partition_fun |
A function to split each node into two groups. Pre-defined functions in this package are |
cutoff |
The cutoff for splitting the dendrogram. |
cache |
Whether the dendrogram should be cached. Internally used. |
try_all_partition_fun |
Different |
A vector of cluster labels (in numeric).
1 2 3 | mat = readRDS(system.file("extdata", "random_GO_BP_sim_mat.rds",
package = "simplifyEnrichment"))
binary_cut(mat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.