getHiCcolor: Get a color ramp for plotting

Description Usage Arguments Examples

Description

getHiCcolor returns a color ramp from one of the prespecified color options. This can either be accessed from the name or the index (p) of the ramp

Usage

1
2
3
4
getHiCcolor(p = character(0), name = character(0))

## S4 method for signature 'ANY'
getHiCcolor(p = character(0), name = character(0))

Arguments

p

= Integer index of the plot color them listed below

name

= Character name of the plot color theme listed below

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
color.choices <- list(
   "Pallet" = 1,
   "Viridian" = 2,
   "Pewter" = 3,
   "Cerulean" = 4,
   "Vermillion" = 5,
   "Lavendar" = 6,
   "Celadon" = 7,
   "Fuchsia" = 8,
   "Saffron" = 9,
   "Cinnabar" = 10,
   "Indigo" = 11,
   "Master" = 12,
   "Black and Blue" = 13,
   "Heat" = 14,
   "Topology" = 15,
   "Blue to Red" = 16)
   

aryeelab/sparseHiC documentation built on May 12, 2019, 3:43 a.m.