knit_print.TnTBoard {TnT} | R Documentation |
S3 method to automatically render a TnTBoard with knitr.
## S3 method for class 'TnTBoard' knit_print(x, ..., options = NULL)
x |
A TnTBoard or TnTGenome object. |
..., options |
Passed to |
htmlwidget:::knit_print.htmlwidget
invisibly returns a character
vector with "browsable_html" S3 class.
track <- BlockTrack(GRanges("chr12", IRanges(c(100, 400, 700), width = 100)), color = c("green", "red", "blue")) tntboard <- TnTGenome(track) ## Not run: knitr::knit_print(tntboard) ## End(Not run)