Learn R Programming

RRNA (version 1.0)

stemCords: internal function that generates coordinates for a stem

Description

internal function that generates coordinates for an RNA secondary structure stem

Usage

stemCords(input, p1, p2, x1, y1, x2, y2, x3, y3)

Arguments

input
ct file as data frame
p1
index of nucleotide in first base pair of the stem
p2
index of nucleotide in first base pair of the stem
x1
x coordinate of p1
y1
y coordinate of p1
x2
x coordinate of p2
y2
y coordinate of p2
x3
direction vector x component
y3
direction vector y component

Value

set of points

See Also

ct2coord

Examples

Run this code
### Internal Function ###

Run the code above in your browser using DataLab