Skip to content

Commit

Permalink
select framewise displacement from confound matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
rciric committed Nov 10, 2018
1 parent 0a58397 commit fe492db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/generate_confmat.R
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ if (in2 == 'csf') {
mat2=cbind(mat1$X,mat1$Y,mat1$Z)
rms=sqrt(mat2^2)
outmat=rowMeans(rms)
} else if (in2 == 'fd') {
outmat = mat1$FramewiseDisplacement
} else {
sprintf("the input is not available yet")
}
Expand Down

0 comments on commit fe492db

Please sign in to comment.