circleCoord {RRNA}R Documentation

Internal function for finding the coordinates of NT's in a circle

Description

Given an integer N the function returns N (x,y) coordinates for a polygon with N sides each of length 1. This is used to plot the loops in an RNA structure

Usage

circleCoord(n)

Arguments

n

Integer determining the number of sides

Value

Data frame with columns x,y defining coordinates of the polygons

Author(s)

JP Bida

Examples

pts=circleCoord(10)
plot(pts$x,pts$y)

[Package RRNA version 1.2 Index]