Description Usage Arguments Examples
View source: R/utpalFunctions.R
This function takes three vectors Position, Allele and Type from the SNPs and returns a vector of variants (e.g. "73G", "73+G", 73-" )
1 | Snp2variant(Pos, Allele, Type)
|
Pos |
A vector of genomic positions for the SNPs (type numeric) |
Allele |
A vector of nucleotide bases present in the SNPs (character strings). Deletions are represented by "" |
Type |
A vector of the type of mutation represented by the SNP. Possible values include "Substitution", "Insertion" and "Deletion" (character strings) |
1 2 | Snp2variant("73", "G", "Substitution")
Snp2variant(c("73", "95", "146"), c("G", "", "C"), c("Substitution", "Deletion", "Insertion"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.