cut_off: Remove lightweight edges

View source: R/launder.R

cut_offR Documentation

Remove lightweight edges

Description

Cuts off edges below a threshold.

Usage

cut_off(graph, threshold = NaN, threshold.quantile = NaN)

Arguments

graph

The original graph

threshold

numeric. The minimal weight of an edge to keep.

threshold.quantile

numeric. The minimal relative weight of an edge to keep with respect to all other edge weights.

Value

A subgraph of graph, where edges have been removed according to the given threshold. If no threshold is given graph is returned unchanged.

See Also

Other data laundering techniques: common_features(), graphed_features(), induced.subgraph.by_name(), launder()


pievos101/DFNET documentation built on Dec. 1, 2022, 3:44 p.m.