Hi, I did an R code that does 1 of the calculation I needed to check if I can use the function in the article. I could do it (with a little bit of help from someone that knows R). And this work, the R code did the calc on 2% error.
Python code still gives me weird results hoping some can look into my code in this repository.
EE WT Diet 2 KO Diet 1 KO Diet 2
WT Diet 1 0.4882 0.409 0.0062 CalR Group effect
0.4852 0.2138 0.0057 Mass:Groupinteraction effect
EE WT Diet 2 KO Diet 1 KO Diet 2
WT Diet 1 0.47868 0.38569 0.00606 R code Group effect
0.47044 0.19864 0.00556 Mass:Group interaction effect
EE WT Diet 2 KO Diet 1 KO Diet 2
WT Diet 1 ??? python code Group effect
Mass:Group interaction effect
I get the result in my code as it calculates all the columns and not each category in the column.
I hope someone will know what I do wrong.