permute_popgraph: Bootstraps indiviudals to see stability of graph topology.
Description
This function uses a permutation test to look at edge
stability. What we do is resample individuals and
re-estimate the topology several times. This provides an
estimate of edge stability.
Usage
permute_popgraph(data, groups, nboot = 50, ...)
Arguments
data
The raw multivariate data as submitted to
popgraph
groups
The grouping of the data into nodes as
submitted to popgraph
nboot
The nubmer of times to bootstrap the
individuals per group (default=50)
...
Other arguments to be passed to
popgraph
Value
A weighted graph where edge weights represent the
proportion of times the edge was found in the perumuted
data sets.