Description Usage Arguments Value Examples
Given a start and stop, output a paired sequence
1 | adjacentPairs(start, stop, simplify = FALSE)
|
start |
start position of the sequence |
stop |
stop position of the sequence |
simplify |
if true, return a matrix of the list |
a list with the pair sequence
1 2 3 | adjacentPairs(3, 10)
adjacentPairs(0, 4)
t(adjacentPairs(0, 4, TRUE))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.