tooltip: Access Track Tooltips

tooltipR Documentation

Access Track Tooltips

Description

Access Track Tooltips

Usage

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

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)

Marlin-Na/TnT documentation built on Sept. 15, 2024, 5:27 a.m.