tooltip | R Documentation |
Access Track Tooltips
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
x |
A TnTTrack object. |
value |
A data frame to replace, its row number should equal to length of data. |
tooltip
returns a data frame.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.