50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

SRAdb (version 1.30.0)

IGVclear: Clear IGV tracks loaded.

Description

Clear IGV tracks loaded in the current IGV.

Usage

IGVclear(sock)

Arguments

sock
A socket connection to IGV.

References

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

See Also

startIGV, IGVload, 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)
# 
#   ## Clear loaded tracks in the current IGV
#   IGVclear(sock)
#   ## End(Not run)

Run the code above in your browser using DataLab