Browse code

Be specific about the uscsTableQuery() arguments

Mike Smith authored on 07/01/2021 22:13:27
Showing 1 changed files

... ...
@@ -1863,7 +1863,7 @@ IdeogramTrack <- function(chromosome = NULL, genome, name = NULL, bands = NULL,
1863 1863
                     tmp
1864 1864
                 }), env, cenv
1865 1865
             )
1866
-            query <- tryCatch(ucscTableQuery(session, "cytoBandIdeo"), error = function(e) {
1866
+            query <- tryCatch(ucscTableQuery(session, table = "cytoBandIdeo"), error = function(e) {
1867 1867
                 warning(
1868 1868
                     "There doesn't seem to be any cytoband data available for genome '", genome,
1869 1869
                     "' at UCSC or the service is temporarily down. Trying to fetch the chromosome length data."