Description Usage Arguments Value Examples
convertAnnotation
converts a type of dot bracket annotation into
another. This only works if the original bracket type is present and the
target bracket type is not.
1 2 3 4 5 6 7 8 9 10 | convertAnnotation(x, from, to)
## S4 method for signature 'DotBracketString'
convertAnnotation(x, from, to)
## S4 method for signature 'DotBracketStringSet'
convertAnnotation(x, from, to)
## S4 method for signature 'DotBracketStringSetList'
convertAnnotation(x, from, to)
|
x |
a |
from |
which annotation type should be converted? Must be one of the
following values: |
to |
Into which annotation type should the selected one be converted?
Must be one of the following values:
|
The modified input object, a DotBracketString*
object.
1 2 3 | str <- "((.))..[[..]]...{{..}}......."
dbs <- DotBracketString(str)
convertAnnotation(dbs, 1L, 2L)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.