\name{TrackLine-class} \docType{class} \alias{TrackLine-class} \alias{coerce,character,TrackLine-method} \alias{coerce,TrackLine,character-method} \alias{show,TrackLine-method} \title{Class "TrackLine"} \description{An object representing a "track line" in the \acronym{UCSC} format. There are two concrete types of track lines: \code{\linkS4class{BasicTrackLine}} (used for most types of tracks) and \code{\linkS4class{GraphTrackLine}} (used for graphical tracks). This class only declares the common elements between the two.} \section{Objects from the Class}{ Objects can be created by calls of the form \code{new("TrackLine", ...)} or parsed from a character vector track line with \code{as(text, "TrackLine")}. But note that \acronym{UCSC} only understands one of the subclasses mentioned above. } \section{Slots}{ \describe{ \item{\code{name}:}{Object of class \code{"character"} specifying the name of the track. } \item{\code{description}:}{Object of class \code{"character"} describing the track. } \item{\code{visibility}:}{Object of class \code{"character"} indicating the default visible mode of the track, see \code{\linkS4class{UCSCTrackModes}}.} \item{\code{color}:}{Object of class \code{"integer"} representing the track color (as from \code{\link{col2rgb}}). } \item{\code{priority}:}{Object of class \code{"numeric"} specifying the rank of this track. } } } \section{Methods}{ \describe{ \item{as(object, "character")}{Export line to its string representation.} } } \references{ \url{http://genome.ucsc.edu/goldenPath/help/customTrack.html#TRACK} for the official documentation. } \author{ Michael Lawrence } \seealso{ \code{\linkS4class{BasicTrackLine}} (used for most types of tracks) and \code{\linkS4class{GraphTrackLine}} (used for Wiggle/bedGraph tracks). } \keyword{classes}