"Add-one-patient" approach to estimate individual network contribution

Share:

Description

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

Usage

1
aop(resids, index, corr.mat, level = c("global", "regional"))

Arguments

resids

Data table of model residuals

index

Integer; the row number (in the residuals data table) of the subject to be added

corr.mat

Correlation matrix of the control group

level

Character string; the level at which you want to calculate contributions (either global or regional)

Value

A data.table with columns for

Study.ID

Subject identifier

Group

Group membership

IC

The value of the individual contribution

Author(s)

Christopher G. Watson, cgwatson@bu.edu

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

1
2
3
4
5
6
## Not run: 
IC <- adply(which(resids.all[, Group == groups[2]]), .margins=1, function(x)
            aop(resids.all, x, corrs[[1]][[1]]$R),
            .parallel=T, .id=NULL)

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.