Description Usage Arguments Value Examples
This function creates an mmdt object from lists of nifti
filenames.
1 2 3 |
masks |
a vector of class |
modal1 |
vector of class |
modal2 |
see 'modal1' description |
modal3 |
see 'modal1' description |
modal4 |
see 'modal1' description |
modal5 |
see 'modal1' description |
modal6 |
see 'modal1' description |
ids |
a vector of subject ids. Must be the same length as the filenames in the 'modal#' vectors. |
groups |
a vector of group membership. Must be two categories, and should be the same length as 'ids'. |
parallel |
is a logical value that indicates whether the user's computer is Linux or Unix (i.e. macOS), and should run the code in parallel. |
cores |
if parallel = TRUE, cores is an integer value that indicates how many cores the function should be run on. |
pb |
is a logical value that indicates whether or not a progress bar will be shown during analysis. |
An mmdt object to be used in the 'mmdt' function.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
masks = c("mask01.nii", "mask02.nii", "mask03.nii", "mask04.nii")
t1s = c("t101.nii", "t102.nii", "t103.nii", "t104.nii")
flairs = c("flair01.nii", "flair02.nii", "flair03.nii", "flair04.nii")
ids = c(1, 2, 3, 4)
groups = c(1, 1, 2, 2)
mmdt.obj = get.mmdt.obj(masks = masks, modal1 = t1s, modal2 = flairs,
ids = ids, groups = groups)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.