Description Usage Arguments Value Author(s) See Also Examples

`apply_thresholds`

will threshold an additional set of matrices (e.g.,
FA-weighted matrices for DTI tractography) based on the matrices that have
been returned from `create_mats`

. This ensures that the same
connections are present in both sets of matrices.

1 | ```
apply_thresholds(sub.mats, group.mats, W.files, inds)
``` |

`sub.mats` |
List (length equal to number of thresholds) of numeric arrays (3-dim) for all subjects |

`group.mats` |
List (equal to number of thresholds) of lists (equal to number of groups) of numeric matrices for group-level data |

`W.files` |
Character vector of the filenames of the files containing your connectivity matrices |

`inds` |
List (length equal to number of groups) of integers; each list element should be an integer vector of length equal to the group sizes |

List containing:

`W` |
A 3-d array of the raw connection matrices |

`W.norm.sub` |
List of 3-d arrays of the normalized connection matrices for all given thresholds |

`W.norm.mean` |
List of lists of numeric matrices averaged for each group |

Christopher G. Watson, [email protected]

Other Matrix functions: `cor.diff.test`

,
`create_mats`

, `symmetrize_mats`

1 2 3 4 | ```
## Not run:
W.mats <- apply_thresholds(A.norm.sub, A.norm.mean, f.W, inds)
## End(Not run)
``` |

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.