lijingya / ELMER

Enhancer Linking by Methylation/Expression Relationship (ELMER) is package to identify tumor-specific changes in DNA methylation within distal enhancers, and link these enhancers to downstream target genes
6 stars 16 forks source link

bug in function get.eniched.motif #12

Open CathG opened 9 years ago

CathG commented 9 years ago

I needed to have a look at the get.enriched.motif function in order to better understand what it does and I think there is a small issue in it : in case the parameter probes.motif is missing, there is no problem, object all.probes.TF is created from the Probes.motif object included in the package. But this object is created only if we enter the condition that probes.motif parameter is missing. Hence, when calling the function with parameter probes.motif = Probes.motif (for example if the data have already been downloaded), an error occurs : "Error in get.enriched.motif(probes.motif = Probes.motif, probes = Sig.probes.paired, : object 'all.probes.TF' not found". Thank you. Best regards, CathG

lijingya commented 9 years ago

Hi, the problem is solved now.

Thank you for your note. Best regards Lijing