UNCDEPENdLab / fmri.pipeline

R package for running full fMRI GLM analyses in FSL and other software.
GNU General Public License v3.0
4 stars 0 forks source link

Include feat_lvl1/2_to_afni.R Scripts in Package #12

Closed wasciutto closed 1 year ago

wasciutto commented 1 year ago

There are some scripts in inst/Rscript that look like they may be includable in the package?

I'm especially interested in getting feat_lvl1/2_to_afni.R in there because of a request I've had to view these levels with AFNI.

When I tried to run them though, their "run afni command" logic seemed to not have been updated to how it is currently used.

michaelhallquist commented 1 year ago

Good idea! I cleaned up these scripts a bit and made them portable as part of the package installation in 81fe67e. You can access them from their installed location using system.file, like system.file("Rscript/feat_lvl1_to_afni.R", package = "fmri.pipeline")