Last chance! 50% off unlimited learning
Sale ends in
determineSynonymous(varTable, seqIDcol = 1, refPosCol = "Reference.Position", refAlleleCol = "Reference", varAlleleCol = "Allele", readCutoffs = 1, colprepend = "snvs_", codonStartPos = "cds", referenceSeqs)
readVariantFiles
,
which should be easy to emulate
seqIDcol
and containing the sequences.
This is the format produced by read.fasta
, but can be emulated.
read.fasta
,
nSynNonSites
,
kaksFromVariants
## Load needed data
data(varScanExample)
data(fastaExample)
determineSynonymous(varTable=varScanExample,
refPosCol=2,
refAlleleCol="Ref",
varAlleleCol="Var",
referenceSeqs=fastaExample)
Run the code above in your browser using DataLab