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 Aug. 17, 2024, 6:10 a.m.