Learn R Programming

SeqKat (version 0.0.8)

get.context: Get Context

Description

Gets the 5' and 3' neighboring bases to the mutated base

Usage

get.context(file, start)

Arguments

file

Reference files directory

start

The position of the mutation gene

Value

The trinucleotide context.

Examples

Run this code
# NOT RUN {
example.ref.dir <- paste0(
	path.package("SeqKat"),
	"/extdata/test/ref/"
	);
get.context(file.path(example.ref.dir, 'chr4.fa'), c(1582933, 1611781))
# }

Run the code above in your browser using DataLab