Description Usage Arguments Value Author(s) See Also Examples
Find the largest distance between two vectors of numbers Helper function for get_orfs
1 | maxLocation(startSite, stopSite, longest = 1)
|
startSite |
vector of start sites - i.e Met amino acid positions |
stopSite |
vector of stop sites - i.e Stop (*) amino acid positions |
longest |
which pair to return (1 = longest pair, 2= 2nd longest pair etc.) |
sequential start site and end site with the greatest difference
Beth Signal
Other ORF annotation: getOrfs
,
getUOrfs
, orfSimilarity
1 2 3 4 5 6 7 8 9 10 | starts <- c(1,10,15,25)
stops <- c(4,16,50,55)
# longest start site = 25, longest stop site = 50
maxLocation(starts, stops, longest = 1)
starts <- c(1,10,15,25)
stops <- c(4,14,50,55)
# longest start site = 15, longest stop site = 50
maxLocation(starts, stops, longest = 1)
# 2nd longest start site = 10, 2nd longest stop site = 14
maxLocation(starts, stops, longest = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.