Learn R Programming

brainGraph (version 0.55.0)

loo: "Leave-one-out" approach to estimate individual network contribution

Description

Calculates the individual contribution to group network data for each subject in each group using a "leave-one-out" approach. The residuals of a single subject are excluded, and a correlation matrix is created. This is compared to the original correlation matrix using the Mantel test.

Usage

loo(resids, corrs, level = c("global", "regional"))

Arguments

resids
Data table of model residuals
corrs
List of lists of correlation matrices (as output by
level
Character string; the level at which you want to calculate contributions (either global or regional) corr.matrix). The length should equal the number of groups.

Value

  • A data.table with columns for
  • Study.IDSubject identifier
  • GroupGroup membership
  • ICThe value of the individual contribution

References

Saggar M., Hosseini S.M.H., Buno J.L., Quintin E., Raman M.M., Kesler S.R., Reiss A.L. (2015) Estimating individual contributions from group-based structural correlations networks. NeuroImage, 120:274-284. doi:10.1016/j.neuroimage.2015.07.006

Examples

Run this code
IC <- loo(resids.all, corrs)
RC <- loo(resids.all, corrs, level='regional')

Run the code above in your browser using DataLab