knit_print.TnTBoard: Printing TnTBoard in Rmarkdown

Description Usage Arguments Value References Examples

Description

S3 method to automatically render a TnTBoard with knitr.

Usage

1
2
## S3 method for class 'TnTBoard'
knit_print(x, ..., options = NULL)

Arguments

x

A TnTBoard or TnTGenome object.

..., options

Passed to htmlwidget:::knit_print.htmlwidget.

Value

htmlwidget:::knit_print.htmlwidget invisibly returns a character vector with "browsable_html" S3 class.

References

knit_print

Examples

1
2
3
4
5
6
7
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)

TnT documentation built on Nov. 8, 2020, 8:11 p.m.