select_cutoff: Select the cutoff for binary cut

Description Usage Arguments Details Examples

View source: R/binary_cut.R

Description

Select the cutoff for binary cut

Usage

1
select_cutoff(mat, cutoff = seq(0.6, 0.98, by = 0.01), verbose = TRUE, ...)

Arguments

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.

Details

Binary cut is applied to each of the cutoff and the clustering results are evaluated by following metrics:

Examples

1
2
3
mat = readRDS(system.file("extdata", "random_GO_BP_sim_mat.rds",
    package = "simplifyEnrichment"))
select_cutoff(mat)

simplifyEnrichment documentation built on Nov. 8, 2020, 5:07 p.m.