jokergoo / rGREAT

GREAT Analysis - Functional Enrichment on Genomic Regions
https://jokergoo.github.io/rGREAT
Other
85 stars 13 forks source link

Cannot download enrichment tables with associated genes with version 3 #34

Open coolleen516 opened 2 years ago

coolleen516 commented 2 years ago

Hi,

I keep getting this error when I try to fetch tables using the download_by = 'tsv' argument after submitting a job using version 3. This is what I put in:

a <- submitGreatJob(gr,
                    species = "mm10", 
                    rule = "oneClosest", 
                    version = '3', 
                    request_interval = 60)
gset <- getEnrichmentTables(a, ontology = "MSigDB Pathway", download_by = 'tsv')

And this is what I get:

_Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : line 5 did not have 24 elements Error in download_enrichment_table(job, ONTOLOGY_KEYS[onto], request_interval = requestinterval, : downloading enrichment table failed.

This is not a problem when I use the newest version. Can you help? Thanks!

jokergoo commented 2 years ago

it was because there is a "#" in the text. Now it is fixed. Please update from GitHub.