circleCoord: Internal function for finding the coordinates of NT's in a...

View source: R/RRNA.r

circleCoordR 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)

RRNA documentation built on Sept. 11, 2024, 8:14 p.m.