IGVload: Load data into IGV via remote port call.

IGVloadR Documentation

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.

Author(s)

Sean Davis <sdavis2@mail.nih.gov>

References

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

See Also

startIGV, IGVgoto

Examples

  ## 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)

zhujack/SRAdb documentation built on Oct. 26, 2022, 7:32 a.m.