Description Usage Arguments Details Value Author(s) Examples
View source: R/get_pyrimidine_change.R
Return the pyrimidine (i.e. C, T) based change for a given mutation.
1 |
x |
a two character array containing the reference allele and alternate allele as provided by the variant caller |
This function can be used with the "apply" statement to provide a variant in the form Ref>Alt.
Returns a string containing Ref>Alt.
Richard J. de Borja
1 2 3 4 | get_pyrimidine_change(x=c('C', 'T'))
get_pyrimidine_change(x=c('G', 'C'))
get_pyrimidine_change(x=c('A', 'T'))
get_pyrimidine_change(x=c('T', 'C'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.