Learn R Programming

SRAdb (version 1.30.0)

IGVload: Load data into IGV via remote port call.

Description

Loads data via a remote call to IGV.

Usage

IGVload(sock, files)

Arguments

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.

References

http://www.broadinstitute.org/igv/PortCommands

See Also

startIGV, IGVgoto

Examples

Run this code
  ## 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)

Run the code above in your browser using DataLab