Hello Yuan
I tried running the EPIC test data and had the same problem.
Edit: I ran the 450K data and it worked smoothly.
In the global environment variables I see "probe.features", but not "probe.features.epic".
Here is the script I am using:
library(ChAMP)
data(EPICSimData)
champ.QC()
myNorm <- champ.norm(beta=myLoad$beta, arraytype="EPIC")
champ.SVD(beta=myNorm,pd=myLoad$pd)
myDMR <- champ.DMR(beta=myNorm,pheno=myLoad$pd$Sample_Group, method="Bumphunter")
DMR.GUI(DMR=myDMR)
And here are the messages I get until the R freezes while running DMR.GUI:
!!! important !!! Since we just upgrated champ.DMP() function, which is now can support multiple phenotypes. Here in DMR.GUI() function, if you want to use "runDMP" parameter, and your pheno contains more than two groups of phenotypes, you MUST specify compare.group parameter as compare.group=c("A","B") to get DMP value between group A and group B.
[ Section 1: Calculate DMP Start ]
You pheno is character type.
Your pheno information contains following groups. >>
<control>:8 samples.
<case>:8 samples.
Your pheno contains EXACTLY two phenotypes, which is good, compare.group is not needed.
Calculating DMP
[===========================]
[<<<<< ChAMP.DMP START >>>>>]
!!! Important !!! New Modification has been made on champ.DMP():
(1): In this version champ.DMP() if your pheno parameter contains more than two groups of phenotypes, champ.DMP() would do pairewise differential methylated analysis between each pair of them. But you can also specify compare.group to only do comparasion between any two of them.
(2): champ.DMP() now support numeric as pheno, and will do linear regression on them. So covariates like age could be inputted in this function. You need to make sure your inputted "pheno" parameter is "numeric" type.
[ Section 1: Check Input Pheno Start ]
You pheno is character type.
Your pheno information contains following groups. >>
<control>:8 samples.
<case>:8 samples.
[The power of statistics analysis on groups contain very few samples may not strong.]
pheno contains only 2 phenotypes
compare.group parameter is NULL, two pheno types will be added into Compare List.
control_to_case compare group : control, case
[ Section 1: Check Input Pheno Done ]
[ Section 2: Find Differential Methylated CpGs Start ]
-----------------------------
Start to Compare : control, case
Contrast Matrix
Contrasts
Levels pcontrol-pcase
pcase -1
pcontrol 1
You have found 780385 significant MVPs with a BH adjusted P-value below 1.
Calculate DMP for control and case done.
[ Section 2: Find Numeric Vector Related CpGs Done ]
[ Section 3: Match Annotation Start ]
[ Section 3: Match Annotation Done ]
[<<<<<< ChAMP.DMP END >>>>>>]
[===========================]
[You may want to process DMP.GUI() or champ.GSEA() next.]
[ Section 1: Calculate DMP Done ]
Thank you again,
Amit
Hello Yuan,
Thank you very much for this great tool and for your prompt response.
I have solved this issue, it seems that I had to use the ChAMP.DMR before the ChAMP.BLOCK. Anyway, it runs ok now.
However, in the meanwhile I had another issue, that I saw it was mentioned previously. I am trying to use the DMR.GUI, and the process freezes after the message "Section 1: Calculate DMP Done".
I saw in another forum that there was an issue with data(probe.features.epic), which I found in the spot in the script relevant (?) to my current problem. When I tried to upload it separately, nothing came up.
Here are my session details: >> Package version 2.8.9 loaded <<
This probably stems from something I missed on the way, but I will really appreciate any help.
Many thanks
Amit
Hello Amit:
DMR.GUI() would firstly calculate significant DMPS then map them back to DMRs, so after calculating DMP, there is a process mapping DMPs back to DMRs, in my memory, it would take some longer time. Have you try my Demo data? If Demo Data works, I think there is no problem with function.
Best
Yuan Tian
Hello Yuan
I have the same issue as Amit concerning DMR.GUI() , it won't go past the :
[ Section 1: Calculate DMP Done ]
But I have no issue with DMP.GUI() knowing that both myDMR and myDMP were obtain through champ.process(). (I'm working on champ 2.14.0)
Any idea on the issue?
Best
Raphael
Hi, I just tried with Demo450K data, seems working. Could I know did you specified parameter compare.group in DMR.GUI()? Or have you checked how many phenotypes in your 'pheno' parameter?
Best Yuan Tian