Assign Plot Colors for Non-Link Data Plot

Share:

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

1
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.

Author(s)

Hongen Zhang

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.