genCords {RRNA} | R Documentation |
Internal function that generates coordinates for a given loop starting and stopping at p1 and p2 respectfully
Description
Generates coordinates for a loop in a secondary structure. Internal function used by RNAPlot.
Usage
genCords(loop, p1, p2, input, vn)
Arguments
loop |
List contianing a data frame that has the subset of nucleotides in a given loop |
p1 |
The position of the first nucleotide in the loop |
p2 |
The position of the second nucleotide in the loop |
input |
The data frame contianing the coordinate file for the entire RNA secondary structure |
vn |
A flag that flips over y axis if vn = 1. |
Value
Returns a set of points
Author(s)
JP Bida
Examples
### This is an internal function ###
[Package RRNA version 1.2 Index]