Name¶
Synopsis¶
db_decode [-h] -anal Analysis -resp Response [-bmask BrainMask]
[-roi RoiName [RoiName ...]] -act Activation
[-layer Layer [Layer ...]] [-chn Channel [Channel ...]]
[-dmask DnnMask] -model Model [-cv CrossValidationFoldNumber]
-out Output
Arguments¶
Required Arguments¶
Argument |
Discription |
|---|---|
anal |
choices=(uv, mv) |
act |
Path of a .act.h5 file which contains activation information. |
resp |
Path of a .roi.h5/.nii file which contains
brain response information. |
model |
choices=(glm, lasso) |
out |
an output directory |
Optional Arguments¶
Argument |
Discription |
|---|---|
layer |
Name of the target layer(s). |
chn |
Index of target channel(s). |
dmask |
a .dmask.csv file in which layers of interest are listed with their own channels, rows and columns of interest. |
bmask |
Brain mask is used to extract activation locally. |
roi |
Specify ROI names for decoding. |
cv |
cross validation fold number |
scoring |
model evaluation rules: correlation or sklearn scoring
parameters |
Outputs¶
Arrays containing the prediction score of each layer. Note:Different layers’ output is stored in different folders.
Examples¶
Decode brain response(test.nii.gz) to DNN activation(test.act.h5) using GLM model with 10 cross validation fold numbers in multivariate analysis.
db_decode -anal mv -act test.act.h5 -resp test.nii.gz -model glm -cv 10 -out test_glm_cv-10