Find Unknotted Groups {R4RNA}R Documentation

Partition basepairs into unknotted groups

Description

Breaks down input helices into basepairs, and assigns each basepair to a numbered group such that basepairs in each group are non-pseudoknotted relative to all other basepairs within the same group.

The algorithm is greedy and thus will not find the best combination of basepairs to minimize the number of groups.

Usage

    unknottedGroups(helix) 

Arguments

helix

A helix data.frame.

Value

An array of integers dictating the groups of each helix. Will only correspond to the input helix structure if the input had helices of length 1 (e.g. output of expandHelix).

Author(s)

Daniel Lai

See Also

colourByUnknottedGroups

expandHelix

Examples

    data(helix)
    known$group <- unknottedGroups(known)
    print(known)

[Package R4RNA version 1.21.0 Index]