Description Usage Arguments Value See Also Examples
Simple function to sort a character list of SNP ids into genome order.
1 | ids.by.pos(ids)
|
ids |
character, vector of SNP rs-ids or chip-ids, see rs.to.id() |
the same vector 'ids', sorted by genome position
1 2 3 4 5 6 | snp.ids <- c("rs3842724","imm_11_2147527","rs689","rs9467354","rs61733845")
Chr(snp.ids) # shows each is on a different chromosome
Pos(snp.ids)
ids.by.pos(snp.ids)
Chr(ids.by.pos(snp.ids))
Pos(ids.by.pos(snp.ids))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.