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.

1 |

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

A `data.table`

with columns for

`Study.ID` |
Subject identifier |

`Group` |
Group membership |

`IC` |
The value of the individual contribution |

Christopher G. Watson, cgwatson@bu.edu

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

1 2 3 4 5 6 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.