MSet.raw <- preprocessRaw(RGset)
beta=getBeta(MSet.raw, type = "Illumina")
Then to get the average beta difference values you can do something like this. (you will need to define group1 and group2 to your initial call in dmpFinder.)
betadif=rowMeans(beta[row.names(dmp_neo),group1])-rowMeans(beta[row.names(dmp_neo),group2])
Finally you can get a list of p-value, q-value and differences by:out=cbind(dmp_neo$pval, dmp_neo$qval, betadif)
head(out)
Hopefully you can easily see how to change it for normalised data and your particular dataset.Thanks,Rob
Hi Pablo.
I have run into these issues before. If you are using moderated p-values (i.e., shrinkVar=TRUE) in dmpFinder, and due to the contrasts used, the 'intercept' column seems to reflect the mean difference (although the order is dependant on the factor levels, I think). If shrinkVar is set to FALSE, then this is no longer valid.
--
You received this message because you are subscribed to a topic in the Google Groups "Epigenomics forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/epigenomicsforum/uTYCSOgzsHs/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to epigenomicsfor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.