r2easyR.stem_editor: A function that optimizes the stem layout for a RNA...

View source: R/r2easyR.stem_editor.R

r2easyR.stem_editorR Documentation

A function that optimizes the stem layout for a RNA 2-structure drawn with R2R

Description

This function edits a R2R Stockholm file to provide a better stem layout for most RNA. By default, R2R will place adjacent stems on the same side of the line of the RNA backbone. This will cause the stems to clash in the figure if the stems are to close together in the 1-sequence. The r2easyR.stem_editor prevents this by flipping every other stem to the opposite side of the backbone using the R2R label line and the R2R place_explicit command. The r2easyR.stem_editor currently supports optimizing the layout of up a structure with up to 26 stems.

Usage

r2easyR.stem_editor(R2R.sto, source = "R2easyR")

Arguments

R2R.sto

Path to the R2R Stockholm file that contains the drawing information you want to optimize

source

Where you got the Stockholm. Did you make it with "R2easyR" or did you make it with "R2R"? Used to parse the secondary structure line.


JPSieg/R2easyR documentation built on March 2, 2024, 8:42 a.m.