Why do I get this error message? > library("rtracklayer") > session <- browserSession() > x<-ucscTableQuery(session, "knownGene" , GenomicRanges(0,12000,"chr1"))
Error in solveUserSEW0(start = start, end = end, width = width) : solving row 1: range cannot be determined from the supplied arguments (too many NAs) In addition: Warning message: In range(c("mammal", "hg19", "Human", "chr21:33,031,597-33,041,570" : NAs introduced by coercion > traceback() 10: .Call("solve_user_SEW0", start, end, width, PACKAGE = "IRanges") 9: solveUserSEW0(start = start, end = end, width = width) 8: IRanges(start, end) 7: GenomicRanges(range[1], range[2], posSplit[1], x[["db"]]) 6: range(c("mammal", "hg19", "Human", "chr21:33,031,597-33,041,570"), na.rm = FALSE) 5: range(<S4 object of class "UCSCSession">, na.rm = FALSE) 4: mergeRange(range(x), range) 3: .local(x, ...) 2: ucscTableQuery(session, "knownGene", GenomicRanges(0, 1e+05, "chr1")) 1: ucscTableQuery(session, "knownGene", GenomicRanges(0, 1e+05, "chr1")) ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.