Coerces character string for chromosome in the pd. annotation packages to integers
A one or 2 letter character string (e.g, "1", "X", "Y", "MT", "XY")
An integer vector with values 1-25 possible
This is useful when sorting SNPs in an object by chromosome and physical position – ensures that the sorting is done in the same way for different objects.
integer2chromosome returns a vector of character string
indicating the chromosome the same length
chromosome2integer returns a vector of
integers the same length as the number of elements in the
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.