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

Description Usage Arguments Value

Description

Add sequence context to a data frame with mutation records

Usage

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

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.

Value

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


ICAMS documentation built on April 3, 2021, 5:07 p.m.