ANTsX / ANTsR

R interface to the ANTs biomedical image processing library
https://antsx.github.io/ANTsR
Apache License 2.0
127 stars 35 forks source link

Does the CompCor function automatically remove linear trends? #342

Open carolin31 opened 3 years ago

carolin31 commented 3 years ago

Hello antsR experts!

I have one quick question in regards to aCompCor. Does it automatically remove linear trends from the data before estimating the principal components or is this part of the preprocessing that I need to do before using CompCor?

Thank you very much in advance Carolin

ntustison commented 3 years ago

Doesn't look like it.

https://github.com/ANTsX/ANTsR/blob/master/R/compcor.R