Implementing covariates in calculating differential methylation
0
0
Entering edit mode
8 months ago
Srinka ▴ 20

Could someone please assist me with the implementation of covariates in the calculateDiffMeth function?

I've been attempting to include parameters like age, BMI, and smoking status within a data frame while performing the calculation, but it keeps generating an error. The error message I'm encountering is,

two groups detected: will calculate methylation difference as the difference of treatment (group: 1) - control (group: 0) Error in data.frame(subst[, 1:4], tmp$p.value, p.adjusted(tmp$q.value, : arguments imply differing number of rows: 87001, 0, 1 In addition: Warning message: In mclapply(cntlist, logReg, vars, treatment = treatment, overdispersion = overdispersion, : all scheduled cores encountered errors in user code

Can anyone provide guidance on how to properly incorporate these covariates into the calculation process?

rrbs methylkit epigenomics • 262 views
ADD COMMENT

Login before adding your answer.

Traffic: 2280 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6