IGVsnapshot: Make a file snapshot of the current IGV screen.

Description Usage Arguments Author(s) References See Also Examples

View source: R/IGVapi.R

Description

From the IGV documentation: "Saves a snapshot of the IGV window to an image file. If filename is omitted, writes a .png file with a filename generated based on the locus. If filename is specified, the filename extension determines the image file format, which must be .png or .eps."

Usage

1
IGVsnapshot(sock, fname = "", dirname=getwd())

Arguments

sock

A socket connection to IGV.

fname

The filename to save. Alternatively, if not specified, IGV will create a filename based on the locus being viewed.

dirname

The directory name as a string for where to save the snapshot file.

Author(s)

Sean Davis <sdavis2@mail.nih.gov>

References

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

See Also

startIGV

Examples

1
2
3
4
5
6
7
  ## Not run: 
  ## Create a snapshot of the current IGV window, which is usually the first launched IGV with listen port 60151 open
  sock <- IGVsocket()
  IGVsnapshot(sock)
  dir()
  
## End(Not run)

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