getReference-IpdDb-method: Get reference sequences

Description Usage Arguments Value Examples

Description

Get the reference sequences for alleles.

Usage

1
getReference(x, allele)

Arguments

x

The database connection; an IpdDb object.

allele

The alleles of interest as a character vector.

Value

A Biostrings:DNAStringSet object with all references.

Examples

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])
allelesOfInterest <- alleles[1:10]
## Get the sequences
seqs <- getReference(hla, allelesOfInterest)

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