Open BegonaMartinez opened 8 years ago
we get p-pvalues corrected for multiple testing using permutation tests. You don't get a p-value out of this pipeline per se.
On Fri, May 27, 2016 at 12:34 PM, BegonaMartinez notifications@github.com wrote:
Hi Kasper,
I have obtained a set of DMR between my two groups and I would like to estimate the FDR using the qvalue package in Bioconductor. I may have missed something during the process of analyses, but I am not able to recover the p-values associated to my DMRs. How could I get these p-values? My pipeline from the smoothing is writen below. Many thanks in advance.
Best, Begoña
File.data.smoothed <- BSmooth(File.data,mc.cores=7,verbose=TRUE) File.data.tstats <- BSmooth.tstat(File.data.smoothed,group1=c("A","B","C","D"), \ group2=c("E","F","G"),estimate.var="same",local.correct=TRUE, verbose=TRUE) dmr.list <- dmrFinder(File.data.tstats,qcutoff=c(.005,.995)) dmrs <- subset(dmr.list, n>=10 & abs(meanDiff) >= 0.3) write.table(x=dmrs, file="File.data.txt", sep="\t", row.names= FALSE, quote=FALSE)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kasperdanielhansen/bsseq/issues/37, or mute the thread https://github.com/notifications/unsubscribe/AEuhnxLdS2RzpkqAx2YvcQkLUgbMbLojks5qFx0tgaJpZM4Ioqtb .
thanks a lot for the answer. Is there a package to do the permutation tests?
We have some code in bsseq in the permutations.R file, but it is currently unexported and undocumented. Thats what we use, and we are working on finishing it up.
Best, Kasper
On Fri, May 27, 2016 at 3:05 PM, BegonaMartinez notifications@github.com wrote:
thanks a lot for the answer. Is there a package to do the permutation tests?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kasperdanielhansen/bsseq/issues/37#issuecomment-222228773, or mute the thread https://github.com/notifications/unsubscribe/AEuhn7ORom8FVT29q8D_-V_CmVSbeSOBks5qF0BigaJpZM4Ioqtb .
Hi,
I wonder if it's been implemented to obtain p-value?
Hi Kasper,
I have obtained a set of DMR between my two groups and I would like to estimate the FDR using the qvalue package in Bioconductor. I may have missed something during the process of analyses, but I am not able to recover the p-values associated to my DMRs. How could I get these p-values? My pipeline from the smoothing is writen below. Many thanks in advance.
Best, Begoña
File.data.smoothed <- BSmooth(File.data,mc.cores=7,verbose=TRUE) File.data.tstats <- BSmooth.tstat(File.data.smoothed,group1=c("A","B","C","D"), \ group2=c("E","F","G"),estimate.var="same",local.correct=TRUE, verbose=TRUE) dmr.list <- dmrFinder(File.data.tstats,qcutoff=c(.005,.995)) dmrs <- subset(dmr.list, n>=10 & abs(meanDiff) >= 0.3) write.table(x=dmrs, file="File.data.txt", sep="\t", row.names= FALSE, quote=FALSE)