Learn R Programming

RRNA (version 1.0)

genCords: 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

Examples

Run this code
### This is an internal function ###

Run the code above in your browser using DataLab