ICAMS (version 2.3.12)

AddSeqContext: Add sequence context to a data frame with mutation records

Description

Add sequence context to a data frame with mutation records

Usage

AddSeqContext(df, ref.genome, seq.context.width = 10, name.of.VCF = NULL)

Value

A copy of the input data.frame with a new column added that contains sequence context information.

Arguments

df

An input data frame storing mutation records of a VCF file.

ref.genome

A ref.genome argument as described in ICAMS.

seq.context.width

The number of preceding and following bases to be extracted around the mutated position from ref.genome. The default value is 10.