gs.xfm.thresh_graph: Threshold Graph

Description Usage Arguments Value Author(s)

Description

A function to threshold and binarize the edges of a graph.

Usage

1
gs.xfm.thresh_graph(graph, thresh = 0.5, method = "quantile", ...)

Arguments

graph

[v, v] a graph with v vertices.

thresh

the threshold to use for binarization.

method

the method to threshold. Defaults to 'quantile'.

  • 'quantile'use the thresh*100 percentile of edge values to threshold, setting values under this to 0 and over to 1.

  • 'abs'use the threshold value provided explicitly to binarize, setting values under thresh to 0 and over to 1.

...

trailing args.

Value

R [v, v] the rank of each edge, from lowest (1) to highest (v^2, or otherwise depending on ties).

Author(s)

Eric Bridgeford


neurodata/graphstats documentation built on May 14, 2019, 5:19 p.m.