apply_threshold-cooccurrence_net-method: Apply a threshold to a co-occurrence adjacency matrix.

apply_threshold,cooccurrence_net-methodR Documentation

Apply a threshold to a co-occurrence adjacency matrix.

Description

All values lower than the threshold will be replaced by a 0.

Usage

## S4 method for signature 'cooccurrence_net'
apply_threshold(bic_net)

Arguments

bic_net

An object of class cooccurrence_net.

Value

An adjacency matrix with the applied threshold.

Examples

m <- matrix(seq(1:16), nrow=4)
# m <- matrix(rnorm(10000), nrow=100)
# bics <- c(run_fabia(m), run_isa(m), run_plaid(m))
# fn <- feature_network(bics, m)
# apply_threshold(fn)


tdrose/mosbi documentation built on May 4, 2022, 3:22 p.m.