## Use file paths for each file on the local system
#The files are directly from DArT for a given sequencing project.
#The are labeled with Dosage_Report or Counts in the file names.
#Temp location (only for example)
output_file <- tempfile()
dosage2vcf(dart.report = system.file("iris_DArT_Allele_Dose_Report_small.csv", package = "BIGr"),
dart.counts = system.file("iris_DArT_Counts_small.csv", package = "BIGr"),
ploidy = 2,
output.file = output_file)
# Removing the output for the example
rm(output_file)
##The function will output the converted VCF using information from the DArT files
Run the code above in your browser using DataLab