Description Usage Arguments Value Author(s) Examples

Takes a binary matrix of voxels and a vector of behavior and runs Brunner-Munzel tests on each voxel. This is a fast function that corrects for infinite values with a similar approach as the nparcomp package. It calculates p-values by running permutations of each voxel and using the ratio of times the real BM score exceeds the permuted BM score.

1 |

`X` |
binary matrix ov voxlels (columns) for all subjects (rows) |

`y` |
vector of behavioral scores. |

`computeDOF` |
(default true) chooses whether to compute degrees of freedom. Set to false to save time during permutations. |

`npermBM` |
(default 20000) number of permutations to run at each voxel |

`alternative` |
(default 1) integer to select the tail of pvalues. 1-greater, 2-less, 3-two.sided |

List with these objects:

`statistic`

- BM values`dfbm`

- degrees of freedom`pvalue`

- permutation-based probability value

Dorian Pustina

1 2 3 4 5 6 7 8 |

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.