getStructure,IpdDb-method {ipdDb}R Documentation

Get gene structures

Description

Get the gene structures for alleles.

Usage

getStructure(x, allele)

Arguments

x

The database connection; an IpdDb object.

allele

The alleles of interest as a character vector.

Value

A GenomicRanges:GRanges object with all gene structures.

Examples

## 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 structures
seqs <- getStructure(hla, allelesOfInterest)


[Package ipdDb version 1.0.0 Index]