getReference,IpdDb-method {ipdDb} | R Documentation |
Get the reference sequences for alleles.
getReference(x, allele)
x |
The database connection; an |
allele |
The alleles of interest as a character vector. |
A Biostrings:DNAStringSet
object with all references.
## Load the database hla <- loadHlaData() ## Get the loci loci <- getLoci(hla) ## Get alleles of a locus alleles <- getAlleles(hla, loci[1]) allelesOfInterest <- alleles[1:10] ## Get the sequences seqs <- getReference(hla, allelesOfInterest)