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

Feature: keep input order #4

Open
zx8754 opened this issue Jun 2, 2020 · 0 comments
Open

Feature: keep input order #4

zx8754 opened this issue Jun 2, 2020 · 0 comments

Comments

@zx8754
Copy link

zx8754 commented Jun 2, 2020

Below two queries return the same output:

LDmatrix(snps = c("chr13:32444611", "chr13:32509120"),
         pop = "EUR", r2d = "r2",
         token = LDLINK_TOKEN)
LDmatrix(snps = c("chr13:32509120", "chr13:32444611"),
         pop = "EUR", r2d = "r2",
         token = LDLINK_TOKEN)

#    RS_number rs496202 rs11147477
# 1   rs496202    1.000      0.202
# 2 rs11147477    0.202      1.000

This is fine when we supply rsids instead of positions, we could just match them up by rsid. But when we supply chr:pos, then it is not easy to map chr:pos to output.

Could we have an argument sort = TRUE/FALSE ?

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