getAlleles,IpdDb-method {ipdDb} | R Documentation |
Get all alleles of a given locus.
getAlleles(x, locus)
x |
The database connection; an |
locus |
A single locus as a string. |
A character vector with all alleles of the give locus.
## Load the database hla <- loadHlaData() ## Get the loci loci <- getLoci(hla) ## Get alleles of a locus alleles <- getAlleles(hla, loci[1])