plot_allele_frequency {immunotation} | R Documentation

## Plotting allele frequencies

### Description

`plot_allele_frequency` Generate a World map displaying the frequency of a given table of HLA alleles. Use the function query_allele_frequencies to generate a table with allele frequencies.

### Usage

    plot_allele_frequency(allele_frequency)

### Arguments

`allele_frequency` | returned by query_allele_frequencies

### Value

ggplot2 object displaying the allele frequencies on a world map.

### Examples

    # select frequency of given allele
    sel_allele_freq <- query_allele_frequencies(hla_selection = "A*02:01",
    hla_sample_size_pattern = "bigger_than",
    hla_sample_size = 10000, standard="g")

    plot_allele_frequency(sel_allele_freq)

[Package immunotation version 1.2.0 Index]