IGVclear | R Documentation |
Clear IGV tracks loaded in the current IGV.
IGVclear(sock)
sock |
A socket connection to IGV. |
Jack Zhu <zhujack@mail.nih.gov>
http://www.broadinstitute.org/igv/PortCommands
startIGV
, IGVload
, IGVgoto
## Not run: ## Create a file list from example bam files in the package exampleBams = file.path(system.file('extdata',package='SRAdb'), dir(system.file('extdata',package='SRAdb'),pattern='bam$')) ##Create a socket connection to IGV sock <- IGVsocket() ## Load the bam files into IGV IGVload(sock, exampleBams) ## Clear loaded tracks in the current IGV IGVclear(sock) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.