Learn R Programming

brainGraph (version 2.2.0)

brainGraph_boot: Bootstrapping for global graph measures

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

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 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

Value

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

Details

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

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

Run this code
# NOT RUN {
boot.E.global <- brainGraph_boot(densities, resids.all, 1e3, 'E.global')
# }

Run the code above in your browser using DataLab