% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{.stageTrackFile}
\alias{.stageTrackFile}
\title{Make a file on disk reachable by igv.js}
\usage{
.stageTrackFile(path, ext)
}
\arguments{
\item{path}{character string, an existing file}

\item{ext}{character string, the extension of the served file}
}
\value{
string with the path to the file, relative to the shiny app
}
\description{
Files igv.js reads by url have to sit in the directory shiny
serves as "tracks". Alignment files run to gigabytes, so the file is linked
rather than copied where the filesystem allows it (windows, and any mount
refusing links, falls back to a copy). The name is randomized: two loaders
may be handed same-named files from different directories.
}
\keyword{internal}
