saeyslab / CytoNorm

R library to normalize cytometry data
33 stars 6 forks source link

testCV() Error in t.default(data) : argument is not a matrix #29

Closed SameOldSamOld closed 2 years ago

SameOldSamOld commented 2 years ago

Hi,

I was following your usage guide and this function was producing the error above for me.

I noticed that the format of fsom provided to testCV() didn't seem to be correct, fsom$FlowSOM needed to be provided.

Error code: cvs <- testCV(fsom, cluster_values = c(5, 10, 15), plot = FALSE)

Fix: cvs <- testCV(fsom$FlowSOM, cluster_values = c(5, 10, 15), plot = FALSE)

tomashhurst commented 2 years ago

@SameOldSamOld from memory that extra fsom object structure was in the previous version of CytoNorm, what version are you on now?

SameOldSamOld commented 2 years ago

I'll have to check on Monday. I had recently updated with dev tools::install_github() this week.

On Sat, 25 Sep 2021 at 11:39 am, Thomas Ashhurst @.***> wrote:

@SameOldSamOld https://github.com/SameOldSamOld from memory that extra fsom object structure was in the previous version of CytoNorm, what version are you on now?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/saeyslab/CytoNorm/issues/29#issuecomment-926971042, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJU4F63TSXEH2OCOTGZ2UR3UDUD4RANCNFSM5EUYWXOQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

SameOldSamOld commented 2 years ago

I am currently using

SameOldSamOld commented 2 years ago

I was using the wrong FlowSOM package version.

I kept trying to install the latest CytoNorm version (0.0.7) from github and the latest version of FlowSOM (1.22.0) from Bioconductor.

I've now downloaded the latest version of each package from the saeslab github, restarted R, and am having no issue. Thanks!