colormap-set-methods: colormap<-

colormap<-R Documentation

colormap<-

Description

Set colormap of gTrack object, this is a named list of named character vectors that specifies the field of the underlying GRanges object that will be used to map a set of values to a set of colors.

usage: colormap(gt)[1] = list(tumortype = c(lung = 'red', pancreatic = 'blue', colon = 'purple'))

Usage

colormap(.Object) <- value

## S4 replacement method for signature 'gTrack'
colormap(.Object) <- value

Arguments

.Object

gTrack to set the colormap for

value

New colormap


mskilab/gTrack documentation built on March 28, 2024, 6:18 p.m.