This function takes a path to either a vcf file or to a directory of vcf files and outputs an inset/outset between these vcf files.
1 2 3 4 5 6 7 8 9 10 11 | generate_sets(
bin_path = "tools/bcftools/bcftools",
vcf = "",
vcf_dir = "",
filter = "PASS",
output_dir = "",
set_names = "",
verbose = FALSE,
threads = 3,
plot = TRUE
)
|
bin_path |
REQUIRED Path to bcftools binary. Default tools/bcftools/bcftools |
vcf |
OPTIONAL Path to a single vcf file or a vector of vcf files. Only if vcf_dir is not given. |
vcf_dir |
OPTIONAL Path to a directory with vcf files to generate a set for. Only if vcf is not given. |
filter |
OPTIONAL Filter variants by. Default PASS |
output_dir |
OPTIONAL Path to output directory. Default current directory |
set_names |
OPTIONAL Names to use to identify each set. |
verbose |
Optional Enables progress messages. Default False. |
threads |
OPTIONAL Number of threads to use. Default 3 |
plot |
OPTIONAL Generate a VennDiagram plot with set intersections |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.