Description Usage Arguments Value Examples
An R6 reference class holding genotyping results for any of the six HLA genes routinely typed at DKMS LSL.
THIS FUNCTION REQURIES ACCESS TO INTERNAL DATABASES AT DKMS LSL.
Use the prepackaged datasets (geno_data
) instead.
1 |
gene |
Fetch alleles for one of "A", "C", "B", "DRB1", "DQB1", "DPB1". |
from |
Start query at DD/MM/YYYY. |
to |
End query at DD/MM/YYYY. |
A <HLA> object containing a table with the following fields:
Unique sample tracking ID.
One of DE, PL, or UK.
First allele.
Other allele.
The genotype in the format "allele1/allele2", where the alleles are alphabetically ordered.
One of homozygous or heterozygous
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
dpb1 <- HLA("DPB1", "01/01/2014", "23/04/2015")
# restrict the sample to a country of origin
dpb1.de <- dpb1[provenance == "DE"]
# access the data table
dpb1.de.tbl <- dpb1.de$get_table()
# calculate allele frequencies
dpb1.de.af <- dpb1.de$allele_frequency()
# calculate genotype frequencies
dpb1.de.gf <- dpb1.de$genotype_frequency()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.