getAlleles-IpdDb-method: Get alleles

Description Usage Arguments Value Examples

Description

Get all alleles of a given locus.

Usage

1
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

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

DKMS-LSL/ipdDb documentation built on May 8, 2019, 5:40 p.m.