You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ,
I'm not a statistician and not very pro-efficient in R.
I'm trying to run fitFeatureModel on the MRexperiment object that was output by aggTax function . And I get this ERROR ;
Error in lmFit(log(mat), mod, weights = weights) :
row dimension of design doesn't match column dimension of data object
Class = cumNorm(Class, p = 0.5)
pd = pData(Class)
mod <- model.matrix(~1 + treatment, data = pd)
Class_flouride_vs_placebo = fitFeatureModel(Class, mod)
Error in lmFit(log(mat), mod, weights = weights) :
row dimension of design doesn't match column dimension of data object
dim(mod)
[1] 48 2
What am I doing wrong ?
Thank you so much !
Cori
The text was updated successfully, but these errors were encountered:
Hi ,
I'm not a statistician and not very pro-efficient in R.
I'm trying to run fitFeatureModel on the MRexperiment object that was output by aggTax function . And I get this ERROR ;
Error in lmFit(log(mat), mod, weights = weights) :
row dimension of design doesn't match column dimension of data object
My intial obj :
What am I doing wrong ?
Thank you so much !
Cori
The text was updated successfully, but these errors were encountered: