tooltip: Access Track Tooltips

Description Usage Arguments Value Examples

Description

Access Track Tooltips

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
tooltip(x)

tooltip(x) <- value

## S4 method for signature 'TrackData'
tooltip(x)

## S4 method for signature 'TnTTrack'
tooltip(x)

## S4 replacement method for signature 'TrackData,data.frame'
tooltip(x) <- value

## S4 replacement method for signature 'TnTTrack,data.frame'
tooltip(x) <- value

Arguments

x

A TnTTrack object.

value

A data frame to replace, its row number should equal to length of data.

Value

tooltip returns a data frame.

Examples

1
2
3
4
5
gr <- GRanges("chr12", IRanges(c(6, 69), c(42, 135)), Name = c("my range 1", "my range 2"))
track <- BlockTrack(gr)
tooltip(track)
tooltip(track)$Width <- width(gr)
tooltip(track)

TnT documentation built on Nov. 8, 2020, 8:11 p.m.