Description Usage Arguments Value Author(s) Examples
View source: R/calculate_boundary.R
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
1 | 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>
1 2 | calculate_boundary(250, 500, c(200, 300))
calculate_boundary(250, 500, 300)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.