brainGraph_boot: Bootstrapping for global graph measures

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/boot_global.R

Description

Performs bootstrapping to get group standard error estimates of a global graph measure (e.g. modularity).

Print a summary from a bootstrap analysis

Usage

1
2
3
4
5
6
brainGraph_boot(densities, resids, R = 1000, measure = c("mod", "E.global",
  "Cp", "Lp", "assortativity", "strength", "mod.wt", "E.global.wt"),
  conf = 0.95, .progress = TRUE)

## S3 method for class 'brainGraph_boot'
summary(object, ...)

Arguments

densities

Numeric vector of graph densities to loop through

resids

An object of class brainGraph_resids (the output from get.resid)

R

Integer; the number of bootstrap replicates (default: 1e3)

measure

Character string of the measure to test (default: mod)

conf

Numeric; the confidence level for calculating confidence intervals (default: 0.95)

.progress

Logical indicating whether or not to show a progress bar (default: TRUE)

object

A brainGraph_boot object (from brainGraph_boot)

...

Unused

Details

The confidence intervals are calculated using the normal approximation and at the 95% level.

Value

An object of class brainGraph_boot containing some input variables, in addition to a list of boot objects (one for each group).

Author(s)

Christopher G. Watson, [email protected]

See Also

boot

Other Group analysis functions: IndividualContributions, NBS, brainGraph_GLM, brainGraph_mediate, brainGraph_permute, mtpc

Other Structural covariance network functions: IndividualContributions, brainGraph_init, brainGraph_permute, corr.matrix, get.resid, plot.brainGraph_resids, plot_volumetric

Examples

1
2
3
4
## Not run: 
boot.E.global <- brainGraph_boot(densities, resids.all, 1e3, 'E.global')

## End(Not run)

brainGraph documentation built on May 29, 2018, 9:03 a.m.