colpal.epigenetics: Custom Color Paletes for epigenetic modifications

colpal.histoneR Documentation

Custom Color Paletes for epigenetic modifications

Description

Named vectors of colors for different modifications

colpal.histone

Histone modifications

Usage

colpal.histone

colpal.histone.ihec

colgrad.methylation.rb

colgrad.methylation.yb

Format

An object of class character of length 10.

An object of class character of length 8.

An object of class character of length 3.

An object of class character of length 3.

Examples

library(gplots)
pie(rep(1,length(colpal.histone)), labels=names(colpal.histone), col=colpal.histone)
library(gplots)
pie(rep(1,length(colpal.histone.ihec)), labels=names(colpal.histone.ihec), col=colpal.histone.ihec)
library(plotrix)
cp <- colorpanel(100,colgrad.methylation.rb["low"],colgrad.methylation.rb["mid"],colgrad.methylation.rb["high"])
plot.new()
gradient.rect(0,0,1,1,col=cp,nslices=length(cp),gradient="x",border=NA)
library(plotrix)
cp <- colorpanel(100,colgrad.methylation.yb["low"],colgrad.methylation.yb["mid"],colgrad.methylation.yb["high"])
plot.new()
gradient.rect(0,0,1,1,col=cp,nslices=length(cp),gradient="x",border=NA)

demuellae/muRtools documentation built on Nov. 6, 2024, 9:44 a.m.