IGVload: Load data into IGV via remote port call.

Description Usage Arguments Author(s) References See Also Examples

Description

Loads data via a remote call to IGV.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  ## 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)

SRAdb documentation built on Nov. 8, 2020, 6:49 p.m.