Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regionQuery doesn't match with help #11

Open
zx8754 opened this issue Aug 29, 2024 · 0 comments
Open

regionQuery doesn't match with help #11

zx8754 opened this issue Aug 29, 2024 · 0 comments

Comments

@zx8754
Copy link

zx8754 commented Aug 29, 2024

?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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant