position_allele_freq: position_allele_freq

View source: R/position_allele_freqs.R

position_allele_freqR Documentation

position_allele_freq

Description

Reads in a dataframe that has been arranged (arrange_data) and filtered (filter_variants) and outputs plots

Usage

position_allele_freq(vardf, segment, nt)

Arguments

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)

Value

A plot showing the the frequencies of the major and minor allele at the given position across all samples

Examples

position_allele_freq(example_filtered_SNV_df,"H1N1_NP", "1247")

vivaldi documentation built on March 31, 2023, 9:20 p.m.