View source: R/position_allele_freqs.R
position_allele_freq | R Documentation |
Reads in a dataframe that has been arranged (arrange_data) and filtered (filter_variants) and outputs plots
position_allele_freq(vardf, segment, nt)
vardf |
A rearranged (arrange_data) and filtered (filtered_variants) vcf dataframe |
segment |
Name of segment (must be in quotes) |
nt |
Position on segment (must be in quotes) |
A plot showing the the frequencies of the major and minor allele at the given position across all samples
position_allele_freq(example_filtered_SNV_df,"H1N1_NP", "1247")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.