help > RE: Error using rank - denoising step
Apr 11, 2023  11:04 AM | Alfonso Nieto-Castanon - Boston University
RE: Error using rank - denoising step
Hi Alex,

That message indicates that some of the factors that you are using as confounding/denoising timeseries contain a "missing-value" (NaN) or infinite (inf) value at least for one scan/timepoint for that subject. Perhaps check the files associated with that subject first-level covariates to see any of those contain a NaN or inf value?

Best
Alfonso
Originally posted by Alexandra Muratore:
Hi Alfonso and CONN users,

I'm trying to run denoising on a group of participants and am getting an error at one particular subject. This subject's data look fine visually, and have the same number of volumes as all the other subjects. When I try to run denoising on the data, I get the following error:

Error using rank
Input matrix must not contain NaN or Inf values.

Error in conn_glmunivariate (line 10)
Nx=rank(X);
Error in conn (line 6785)
[CONN_h.menus.m_preproc.B,CONN_h.menus.m_preproc.opt]=conn_glmunivariate('estimate',xf,yf2);


I've tried to return to the Setup step to add in the raw data, preprocess it, and run it through setup again, but I continue to get the same error. Does anyone know what causes this or what I can do to investigate the error further?

Thanks for any help,
Alex 

Threaded View

TitleAuthorDate
Alex G Apr 5, 2023
RE: Error using rank - denoising step
Alfonso Nieto-Castanon Apr 11, 2023