IPCA function does not work

Hello,
I would like to perform your ipca function on my data. I have a matrix made by genes in rownames and observation as columns but when I try to run it I have this error
“Error in W %*% V : require argoments numeric/complex matrix/vector”

I look at the class of my matrix and is numeric so I do not understand what is wrong. My matrix is not normalized but just filtered.

Thank you

hi @Michela,

See the examples in ?ipca
The samples should be in rows and the variables in columns. I also wonder if you have a lot of 0 or missing values.

Kim-Anh