knit_print.TnTBoard | 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.
knit_print
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.