repair_unmatched_secondary_structure: Replaced unmatched brackets in a dot-bracket RNA secondary...

repair_unmatched_secondary_structureR Documentation

Replaced unmatched brackets in a dot-bracket RNA secondary structure

Description

Replaced unmatched brackets in a dot-bracket RNA secondary structure

Usage

repair_unmatched_secondary_structure(ss)

Arguments

ss

(character scalar) the secondary structure to repair.

Value

(character scalar) the repaired secondary structure.

Examples

    # some brackets are unmatched due to truncation
    ss <- "..(((.....[[...<<<<<___>>>>>.[[.<<<___>>>.]"
    repair_unmatched_secondary_structure(ss)

brendanf/LSUx documentation built on Oct. 10, 2024, 1:31 p.m.