Postdoctoral Fellow - Bioinformatics and Statistics
CSIRO Computational Informatics
Ph: +61 2 9325 3266
Riverside Life Sciences Centre, 11 Julius Avenue, North Ryde, NSW 2113, Australia
source("http://bioconductor.org/biocLite.R")
biocLite("BiocUpgrade") ## R version 2.15 or later
--
You received this message because you are subscribed to the Google Groups "Epigenomics forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to epigenomicsfor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Tim,
I recently started working with DMRs and I think DMRcate is a very nice package to work with. I have managed to learn the steps to find DMRs for the paired and unpaired data having categorical phenotypes. However in my case, I have a continuous phenotype (for example: lets say I want to know the effect of age on methylation). Could you help me know how can I work with continuous phenotypes?
> patient [1:5]
[1] X8261 X8164 X7342 X10318 X3949
700 Levels: X10080 X10108 X10115 X10118 X10130 X10136 X10138 X10146 ... X9485
> type [1:5]
[1] 0.99 1.22 1.27 1.55 1.05
How do I design and annotate for this?
Thanks a ton for your help!
Best,
Pooja
myann <- cpg.annotate(betas.filtered.log, analysis.type="differential", ,design=design.m, coef=dim(design.m)[2]) Your contrast returned 169081 individually significant probes. We recommend the default setting of pcutoff in dmrcate(). Error in data.frame(ID = rownames(object), weights = weights, CHR = RSanno$chr, : arguments imply differing number of rows: 438091, 438026
I tried the same with the data without applying the filtering SNP filtering step:myann <- cpg.annotate(betas.log, analysis.type="differential",design=design.m, coef=dim(design.m)[2]) Your contrast returned 187097 individually significant probes. We recommend the default setting of pcutoff in dmrcate(). Error in data.frame(ID = rownames(object), weights = weights, CHR = RSanno$chr, : arguments imply differing number of rows: 484940, 484875Both times, there is an offset of 65 rows in whatever objects the cpg.annotate() is trying put into a data.frame. Where could these 65 entrie come from and how can I prevent this?FIY:dim(betas.filtered.log) [1] 438091 11
dim(betas.log) [1] 484940 11
Any help would be appreciated
coord no.cpgs minfdr Stouffer maxbetafc meanbetafc
63999 chr6:33156164-33181870 265 0 0 -0.5008031 -0.02648790
63997 chr6:33128825-33149777 150 0 0 0.4176126 0.08611966
63917 chr6:32144195-32161004 128 0 0 -0.2574513 -0.03184096
63914 chr6:32114490-32123701 124 0 0 -0.4377015 -0.06195576
63889 chr6:31935801-31940855 101 0 0 -0.1555205 -0.02401999
12564 chr11:31817810-31841980 100 0 0 -0.4611059 -0.17113506
There follow the output results of the older DMRcate.
gene_assoc group hg19coord no.probes minpval meanpval maxbetafc LOC100132215,OTX1 Body,TSS200,TSS1500 chr2:63273684-63287288 88 0 1.53809e-08 -0.1045803