View source: R/compareSequences.R
compareSequences | R Documentation |
Compares the sequences of two alleles at a locus, and identifies the differences between them at specific positions
compareSequences(alignType, alleles)
alignType |
A character string identifying the type of alignment being searched. Allowed values are "codon","gen", nuc" and "prot". Only one 'alignType' value is permitted. |
alleles |
A character vector containing two full-length names for alleles at the same locus. |
A two-row data frame identifying the positions and sequences at which the two alleles differ. E.g., compareSequences(alignType = "gen", alleles = c("DPA1\*01:03:38:01","DPA1\*01:03:38:02"). Positions for which the sequence of either allele is unknown are ignored.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.