1 |
studypath |
The main folder path for a BIDS dataset. |
extensions |
A vector of file extensions, e.g. c(".nii.gz", ".nii") |
... |
Other conditions to filter the dataset on, such as sub, ses, task, acq, rec, run, modality. Note that these arguments are passed to dplyr::filter, so they are evaluated. Thus they should be inputted as such. e.g. sub |
Tibble containing the relevant file information Query the data files from a BIDS folder subList <- c("01", "03") get_files(studypath, extensions=c('.nii', '.nii.gz'), sub %in% subList, modality=="T1w")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.