Add sequence context to a data frame with mutation records
AddSeqContext(df, ref.genome, seq.context.width = 10)
An input data frame storing mutation records of a VCF file.
A ref.genome
argument as described in
ICAMS
.
The number of preceding and following bases to be
extracted around the mutated position from ref.genome
. The default value is 10.
A copy of the input data.frame with a new column added that contains sequence context information.