IGVclear: Clear IGV tracks loaded.

Description Usage Arguments Author(s) References See Also Examples

View source: R/IGVapi.R

Description

Clear IGV tracks loaded in the current IGV.

Usage

1
IGVclear(sock)

Arguments

sock

A socket connection to IGV.

Author(s)

Jack Zhu <zhujack@mail.nih.gov>

References

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

See Also

startIGV, IGVload, IGVgoto

Examples

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

seandavi/SRAdb documentation built on May 29, 2019, 4:33 p.m.