Description Usage Arguments Value Examples
A TnTBoard or TnTGenome object stores a list of tracks and can be automatically shown in an interactive R session or in rmarkdown output.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
tracklist |
One track or a list of tracks to view. |
view.range |
Length-one GRanges object, sets the initial view range. |
coord.range |
Length-one IRanges object or length-two numeric vector, sets the coordinate limit of the board (i.e. minimum/maximum possible coordinate). |
zoom.allow |
Length-one IRanges object or length-two numeric vector, sets the minimum and maximum extent of the board (i.e. the limit when zooming in and zooming out). |
allow.drag |
Logical, whether drag should be allowed? Default TRUE. |
use.tnt.genome |
Logical, whether to add axis and location. 'TnTGenome(...)' is essentially a wrapper to 'TnTBoard(..., use.tnt.genome = TRUE)'. |
Returns a TnTBoard or TnTGenome object which has printing method to be rendered as a htmlwidget.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.