View source: R/visualization.R
plot_allele_frequency | R Documentation |
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.
plot_allele_frequency(allele_frequency)
allele_frequency |
returned by query_allele_frequencies |
ggplot2 object displaying the allele frequencies on a world map.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.