calculate_boundary: calculate_boundary

Description Usage Arguments Value Author(s) Examples

View source: R/calculate_boundary.R

Description

The function calculates boundaries of sequence windows around the mutation. It is possible to define up to two window lengths. If the mutation is close to the start or end of the protein, the region is extended into the other direction to keep the indicated size

Usage

1
calculate_boundary(mut_pos_numeric, length_aa, flanking_region)

Arguments

mut_pos_numeric

Amino acid position of mutation

length_aa

Length of transcript in amino acids

flanking_region

Vector containing two flanking regions

Value

returns a list with the boundaries for the two regions

Author(s)

Marija Buljan <buljan@imsb.biol.ethz.ch> Peter Blattmann <blattmann@imsb.biol.ethz.ch>

Examples

1
2
calculate_boundary(250, 500, c(200, 300))
calculate_boundary(250, 500, 300)

DominoEffect documentation built on Nov. 8, 2020, 5:46 p.m.