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
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