IGVload | R Documentation |
Loads data via a remote call to IGV.
IGVload(sock, files)
sock |
A socket connection to IGV. |
files |
Character vector of one or more filenames with full path or urls to load. Among supported file types are BAM and IGV session file, for other file types please check IGV web site: http://www.broadinstitute.org/igv/ControlIGV. |
Sean Davis <sdavis2@mail.nih.gov>
http://www.broadinstitute.org/igv/PortCommands
startIGV
, 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) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.