fcbase-set: Replace base colors of a fcol object with a different value

fcbase<-R Documentation

Replace base colors of a fcol object with a different value

Description

Replace base colors of a fcol object with a different value

Usage

fcbase(fcol) <- value

Arguments

fcol

A fcol object, likely constructed by fcol

value

A character vector, indicating the new values

Value

A new fcol object

Examples

fc <- fcol(c("lightblue", "orange", "lightblue"), base=c("orange", "lightblue"))
fcbase(fc)
fcbase(fc)[1] <- "red"
print(fc)
fcbase(fc) <- c("gray", "darkblue")
fc

bedapub/ribiosPlot documentation built on Sept. 1, 2023, 6:50 p.m.