updatePal: update color pal (as input for prepcolbar)

Description Usage Arguments Value

View source: R/aheatmat.R

Description

given an old pal and a list of newly specified pal, update when compatible; when no shared names, no updates will be made

Usage

1
updatePal(oldpal, newpal = NULL)

Arguments

oldpal

a list of colors, usually returned by autocolpal4DF

newpal

a list of colors, usually user specified; default is NULL, which means no updates at all.

Value

a named list of colors


nickytong/GenAnalysis documentation built on July 20, 2019, 8:57 a.m.