## Load needed data
data(varScanExample)
data(fastaExample)
kaksFromVariants(varTable=varScanExample,
refPosCol=2,
refAlleleCol="Ref",
varAlleleCol="Var",
referenceSeqs=fastaExample)
Run the code above in your browser using DataLab