Learn R Programming

RCircos (version 1.2.2)

RCircos.Get.Arrow.Shape: Get Default Coordinates for An Arrow Shape

Description

Get default coordinates for an arrow shape. The arrow is represented as a polygon inside of a circle with radius of 1. The cocordinates will be different based which side of chromosome ideogram the arrow will be plotted.

Usage

RCircos.Get.Arrow.Shape(side="in")

Arguments

side

Character vector, either "in" or "out".

Value

A two dimensional numeric matrix for x and y coordinates of a polygon.

Examples

Run this code
# NOT RUN {
library(RCircos)
arrow <- RCircos.Get.Arrow.Shape("in")
arrow <- RCircos.Get.Arrow.Shape("out")
# }

Run the code above in your browser using DataLab