Learn R Programming

RCircos (version 1.2.2)

RCircos.Get.Plot.Colors: Assign Plot Colors for Non-Link Data Plot

Description

Assign plot colors for each data point of genomic data except of link plot (link lines or ribbons). Users can define their own colors by appending a column with color names to plot data and give the column name as "PlotColor". Otherwise, default colors will be used.

This function is for internal use only.

Usage

RCircos.Get.Plot.Colors(plot.data, color)

Arguments

plot.data

A data frame with the first three columns as chromosome name, start and end position followed by data values for one or more samples.

color

Character vector of color names.

Value

A vector of color names with length same as the rows of input data.