forward {RRNA} | R Documentation |
Given a bracket notation for RNA secondary structure and an index of a "(" bracket type the forward function will find the ")" bracket that closes the "(" at the given index.
forward(stc, i)
stc |
a=unlist(strsplit("(((...)))...((..))","")) |
i |
Interger index |
Integer index
JP Bida
a=unlist(strsplit("(((...)))...((..))",""))
ind=forward(a,1)