shared_snv_plot {vivaldi} | R Documentation |
shared_snv_plot
Description
Reads in a dataframe that has been arranged (arrange_data) and filtered (filter_variants) and outputs plots
Usage
shared_snv_plot(vardf, samples = unique(DF_filt$sample))
Arguments
vardf |
A rearranged (arrange_data) and filtered (filtered_variants) vcf dataframe |
samples |
A vector of samples to be compared (default:all samples in DF_filt) |
Value
A plot showing the location of variants and the number of samples that contain each variant
Examples
samples = c("a_1_fb", "a_1_iv", "a_2_fb", "a_2_iv", "a_3_fb", "a_3_iv", "b_1_fb", "b_1_iv")
shared_snv_plot(example_filtered_SNV_df, samples)
[Package vivaldi version 1.0.1 Index]