plot_allele_frequency: Plotting allele frequencies

View source: R/visualization.R

plot_allele_frequencyR 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)


imkeller/immunotation documentation built on Jan. 3, 2023, 1:31 p.m.