hansenlab / minfi

Devel repository for minfi
58 stars 68 forks source link

getMeth(MethylSet) => Error #93

Closed NizarTouleimat closed 7 years ago

NizarTouleimat commented 7 years ago

Dear Kasper,

I am working on methylation EPIC array data. I was using the functions getMeth and getUnmeth to respectively extract 'methylated' and 'unmethylated' signals from a MethylSet object. However, I think that until the laste release of minfi, when I use this function getMeth(MethylSet) I get this error message : Error: is(BSseq, "BSseq") is not TRUE

This error does'nt appear when using getUnmeth(MethylSet).

Is there any conflict between functions ? Should I use another function ?

Many thanks for your help !

Best regards,

Nizar Touleimat

kasperdanielhansen commented 7 years ago

This is because you also have bsseq loaded. Both bsseq and minfi have a getMeth() function, but they are different. You can always specify by minfi::getMeth() and bsseq::getMeth().

But I should really think about fixing this, since I have written both of the packages and it is not unreasonable to have them both loaded at the same time.

Best, Kasper

On Wed, Jan 25, 2017 at 8:38 AM, NizarTouleimat notifications@github.com wrote:

Dear Kasper,

I am working on methylation EPIC array data. I was using the functions getMeth and getUnmeth to respectively extract 'methylated' and 'unmethylated' signals from a MethylSet object. However, I think that until the laste release of minfi, when I use this function getMeth(MethylSet) I get this error message : Error: is(BSseq, "BSseq") is not TRUE

This error does'nt appear when using getUnmeth(MethylSet).

Is there any conflict between functions ? Should I use another function ?

Many thanks for your help !

Best regards,

Nizar Touleimat

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kasperdanielhansen/minfi/issues/93, or mute the thread https://github.com/notifications/unsubscribe-auth/AEuhnwnCPKPbNqY8BROJI4EKZ2Q6zze6ks5rV16DgaJpZM4Ltjrk .

NizarTouleimat commented 7 years ago

Thank you for your quick reply. It works now with minfi::getMeth().

Best, Nizar

kasperdanielhansen commented 7 years ago

Duplicate of #39, so closing this one.