Skip to content

Commit 2a00ee2

Browse files
Update CIFTItoFC.R
1 parent 5ffefac commit 2a00ee2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/CIFTItoFC.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#'
88
#' @details This function extracts FC matrices from CIFTI volumes postprocessed with XCP_d
99
#'
10-
#' @param wb_path The filepath to the workbench folder that you have previously downloaded and unzipped
10+
#' @param wb_path The filepath to the workbench folder that you have previously downloaded and unzipped. Set to `/home/junhong.yu/workbench/bin_rh_linux64` by default
1111
#' @param path The filepath to directory containing the subject folders. Set to `./.` by default.
1212
#' @param atlas The version (number of parcels) of the Schaefer atlas; it has to be in multiples of 100, from 100 to 1000. set to `200` by default. The specified atlas template will be automatically downloaded from here if it does not exist in the current directory.
1313
#' @param dtseries The filename extension of the fMRI volumes. Set to `_space-fsLR_den-91k_desc-denoised_bold.dtseries.nii` by default
@@ -24,7 +24,7 @@
2424

2525
########################################################################################################
2626
########################################################################################################
27-
CIFTItoFC=function(path="./",wb_path, dtseries="_space-fsLR_den-91k_desc-denoised_bold.dtseries.nii", atlas=200,filename="FC.rds")
27+
CIFTItoFC=function(path="./",wb_path="/home/junhong.yu/workbench/bin_rh_linux64", dtseries="_space-fsLR_den-91k_desc-denoised_bold.dtseries.nii", atlas=200,filename="FC.rds")
2828
{
2929
filelist=list.files(path=path,pattern=dtseries,recursive = T)
3030
sublist=unique(gsub(pattern ="/ses-0./func",replacement = "",dirname(filelist)))

0 commit comments

Comments
 (0)