forward: Internal function for moving through secondary structures

Description Usage Arguments Value Author(s) See Also Examples

Description

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.

Usage

1
forward(stc, i)

Arguments

stc

a=unlist(strsplit("(((...)))...((..))",""))

i

Interger index

Value

Integer index

Author(s)

JP Bida

See Also

backward

Examples

1
2
a=unlist(strsplit("(((...)))...((..))",""))
ind=forward(a,1)

RRNA documentation built on May 2, 2019, 1:06 p.m.