View source: R/HLADiversityScore.R
HLADiversityScore | R Documentation |
These functions calculate the HLA diversity between alleles using several alternative methods.
HLADiversityScore(
hla.1,
hla.2,
diversity.measure = "grantham",
exons23 = TRUE,
protdist.path = NULL
)
hla.1 |
HLA allele in format A*01:01 |
hla.2 |
HLA allele in format A*01:01 |
diversity.measure |
One of 'grantham', 'sandberg', 'pdist', 'PAM' or 'JTT'. |
exons23 |
Logical of whether to only calculate the diversity of exons 2 and 3 the protein binding region of the HLA alleles. |
protdist.path |
Path to protdist app from phylip e.g. '~/Documents/Programs/phylip-3.695/exe/protdist.app/Contents/MacOS' |
HLA diversity metric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.