powered by
exports variants to VCF
writeToVCF(q, vcfFile, genome = "hg19", snvOnly = F, addSomaticP = F)
A variant data frame from superFreq.
The path to the output file.
The genome, such as 'hg19', 'hg38' or 'mm10'. Defaults to 'hg19'.
boolean. Set to TRUE to include a column with the somaticP score from superFreq. Defaults to FALSE.
boolean. Set to TRUE to only output SNVs, not indels. Defaults to FALSE.
This function outputs superFreq variants to a VCF for access from other software.
# NOT RUN { data = loadData(Rdirectory) q = data$allVariants$variants$variants$mySample writeToVCF(q, 'mySample.superFreq.vcf') # }
Run the code above in your browser using DataLab