LDlinkR icon indicating copy to clipboard operation
LDlinkR copied to clipboard

Return output when rsid do not match as NA

Open zx8754 opened this issue 5 years ago • 0 comments

Could we have an output when there is no match, something like:

LDmatrix(snps = c("rs496202", "rs11147477", "rsxyz"),
         pop = "EUR", r2d = "r2",
         token = LDLINK_TOKEN)

#    RS_number rs496202 rs11147477  rsxyz
# 1   rs496202    1.000      0.202     NA
# 2 rs11147477    0.202      1.000     NA
# 3      rsxyz       NA         NA     NA

This could also help with #4 .

zx8754 avatar Jun 02 '20 08:06 zx8754