USCbiostats / AnnoQR

R client wrap for AnnoQ API
Other
1 stars 2 forks source link

regionQuery doesn't match with help #11

Open zx8754 opened 3 weeks ago

zx8754 commented 3 weeks ago

?regionQuery gives shows these arguments:

regionQuery(contig, start, end)

And example from manuals - https://uscbiostats.github.io/annoq-site/docs/tutorials/r-package does not work:

variants = regionQuery(contig = '20', start=31710367, end=31820367)

But the function requires: chr, start, end, annotations_to_retrieve.

This works fine:

x <- regionQuery(chr = '20', start = 31710367, end = 31820367, 
                 annotations_to_retrieve = "SnpEff_ensembl_Effect")
nrow(x)
# [1] 1785