Description Usage Arguments Value Examples
Get the sequence of the closest allele which for which a full-length sequence is available.
1 | getClosestComplete(x, allele, locus = NULL)
|
x |
The database connection; an |
allele |
A single allele as a string. |
locus |
optional parameter used if the allele identifier is not found. |
A Biostrings:DNAStringSet
object with the sequence
of the closest full-length allele.
1 2 3 4 5 6 7 8 9 | ## Load the database
hla <- loadHlaData()
## Get the loci
loci <- getLoci(hla)
## Get alleles of a locus
alleles <- getAlleles(hla, loci[1])
alleleOfInterest <- alleles[1]
## Get the closest complete sequence
seqs <- getClosestComplete(hla, alleleOfInterest, loci[1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.