## Use file paths for each file on the local system
#Temp location (only for example)
output_file <- tempfile()
filterVCF(vcf.file = system.file("iris_DArT_VCF.vcf.gz", package = "BIGr"),
filter.OD = 0.5,
filter.MAF = 0.05,
ploidy = 2,
output.file = output_file)
# Removing the output for the example
rm(output_file)
##The function will output the filtered VCF to the current working directory
Run the code above in your browser using DataLab