calculate_boundary {DominoEffect} | R Documentation |
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
calculate_boundary(mut_pos_numeric, length_aa, flanking_region)
mut_pos_numeric |
Amino acid position of mutation |
length_aa |
Length of transcript in amino acids |
flanking_region |
Vector containing two flanking regions |
returns a list with the boundaries for the two regions
Marija Buljan <buljan@imsb.biol.ethz.ch> Peter Blattmann <blattmann@imsb.biol.ethz.ch>
calculate_boundary(250, 500, c(200, 300)) calculate_boundary(250, 500, 300)