extract_headmotion.Rd
Extracting head motion measurements.
extract_headmotion(filename = "motiondat.csv", start = 1)
the desired filename, with a *.csv extension, of the output.Set to 'motiondat.csv' by default
calculate motion parameters from this frame index. set to 1 by default
outputs a .csv file containing columns of
subj
Subject ID.
no.frames
Number of frames.
FD
Framewise displacement.
RMSD
Root Mean Squared Displacement.
FD.20
Number of frames with FD>0.2.
RMSD.25
Number of frames with RMSD>0.25.
This function extracts head motion measurements from an fMRIprep output directory, and outputs these measurements in a .csv file
if (FALSE) {
extract_headmotion()
}