Replies: 2 comments 2 replies
-
Does your data end up with NAs? If yes, any way to filter those out without impacting analysis? |
Beta Was this translation helpful? Give feedback.
-
Ran Now trying |
Beta Was this translation helpful? Give feedback.
-
Posted in the
methylKit
Github, but adding here too in case anyone has some insight!Any suggestions for successfully running
calculateDiffMeth
with a covariate matrix without an lm.fit error?I'm running
methylKit
with the Manchester samples in this R Markdown script to identify DML. I'm also using a covariate matrix to account for differences in maturation stage, and correcting for over dispersion. When I run this code:I get this error about model fit:
I dug into the
methylKit
Github repo, and found a seemingly related issue. The OP may have had issues with too many NAs afterunite
since they used amin.per.group
argument, but I didn't do that! Interestingly, when I run the code without the covariate matrix:I don't get an error because R crashes, so I can't figure out if there's an issue with my covariate matrix, or if I don't have a large enough sample size to try these additional model parameters.
Possible solutions:
mc.cores = 1
calculateDiffMeth
withoverdispersion = "MN"
but no covariate matrixDSS
Beta Was this translation helpful? Give feedback.
All reactions