This is a test version of Biostars. For the public version, visit https://www.biostars.org.
R libraries to match SNPs by positions (including switching and flipping)

Is there an R package that can R libraries to match SNPs by positions (including switching and flipping)?

For example, it should match

chr1:1:C:T

with

chr1:1:T:C
chr1:1:G:A
chr1:1:A:G
r bioconductor snp

I'm not sure if this is a common requirement - packages/functions may not exist but it might be straightforward to write a function yourself.

Side note: I think this question might become what's called a code-golf question on the forum quickly.

0 answers

No answers yet.

Log in to answer this question.