Error while calculating differentially methylated regions(dmrs) after SWAN normalization in minfi for methylation array data
0
0
Entering edit mode
4.9 years ago
sinha.puja ▴ 20

Hi,

I am unable to extract differentially methylated regions(dmrs) after SWAN normalization in minfi for methylation array data.

Below is the code used:

MSet.swan <- preprocessSWAN(RGset)
beta_N <- getBeta(MSet.swan)

Sample_Group <- pData(MSet.swan)$Sample_Group 

dmp <- dmpFinder(beta_N, pheno = Sample_Group , type = "categorical") 
write.csv(dmp, file="C:/Users/sinha.puja/Desktop/baseDir2/Exporteddmp-SWAN.csv", row.names=T)
pheno <- pData(MSet.swan)$Sample_Group
pheno
designMatrix <- model.matrix(~ pheno)
designMatrix
*dmrs <- bumphunter(MSet.swan, design = designMatrix, cutoff = 0.2, B=0, type="Beta")*

I got the following error at the dmrs step:

Error in (function (classes, fdef, mtable)  : 
 unable to find an inherited method for function ‘bumphunter’ for signature ‘"MethylSet"’.

If anyone is familiar with this type of error and knows how to solve this then please please help..!!!!

Thanks.

R • 1.1k views
ADD COMMENT
0
Entering edit mode

There are so many subject matter keywords and specific technologies in the question, yet the only tag used is R. Why is that, OP? Please edit your question and add relevant tags.

ADD REPLY
0
Entering edit mode

I do not know that tool but these kinds of error indicate that the MSet.swan is not the input format that bumphunter() is expectig. Check ?bumphunter towards the correct input for the function.

ADD REPLY

Login before adding your answer.

Traffic: 2363 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