S3 method to automatically render a TnTBoard with knitr.
# S3 method for 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) # }