\name{IGVload} \alias{IGVload} \title{ Load data into IGV via remote port call. } \description{ Loads data via a remote call to IGV. } \usage{ IGVload(sock, files) } \arguments{ \item{sock}{ A socket connection to IGV. } \item{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. } } \references{ http://www.broadinstitute.org/igv/PortCommands } \author{ Sean Davis } \seealso{ \code{\link{startIGV}}, \code{\link{IGVgoto}} } \examples{ \dontrun{ ## 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) } } \keyword{ IO }