shared_snv_plot: shared_snv_plot

View source: R/shared_snv_plot.R

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


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