getAlleles,IpdDb-method {ipdDb}R Documentation

Get alleles

Description

Get all alleles of a given locus.

Usage

getAlleles(x, locus)

Arguments

x

The database connection; an IpdDb object.

locus

A single locus as a string.

Value

A character vector with all alleles of the give locus.

Examples

## Load the database 
hla <- loadHlaData()
## Get the loci
loci <- getLoci(hla)
## Get alleles of a locus
alleles <- getAlleles(hla, loci[1])


[Package ipdDb version 1.10.0 Index]