\Header{YG-class}{Class "YG" a sub-class of pubRepo that reads/downloads data from
yeast genomic}
\alias{YG}{YG-class}
\keyword{classes}{YG-class}
\begin{Description}\relax
This class is a sub-class ob pubRepo that has source
specific functions to extract data from Yeast Genome ftp site
(\url{ftp://genome-ftp.stanford.edu/pub/yeast/data_download/})\end{Description}
\begin{Section}{Objects from the Class}
Objects can be created by calls of the form \code{new("YG", ...)}.
A constructor (YG) is available and should be used to instantiate
objects of this class\end{Section}
\begin{Section}{Slots}
\describe{
\item[\code{srcUrl}:] Object of class \code{"character", from class
        "pubRepo"} a character string for the url where surce data are
available
(\url{ftp://genome-ftp.stanford.edu/pub/yeast/data_download/} at
the time of coding)
\item[\code{parser}:] Object of class \code{"character", from class
        "pubRepo"} not in use
\item[\code{baseFile}:] Object of class \code{"character", from
        class "pubRepo"} not in use
}\end{Section}
\begin{Section}{Extends}
Class \code{"pubRepo"}, directly.\end{Section}
\begin{Section}{Methods}
\describe{
\item[readData] \code{signature(object = "YG")}: Reads source data
defined by argument extenName from the ftp site
}\end{Section}
\begin{Note}\relax
This class is part of the Bioconductor project at Dana-Farber
Cancer Institute to provide Bioinformatics functionalities through R\end{Note}
\begin{Author}\relax
Jianhua Zhang\end{Author}
\begin{References}\relax
\url{ftp://genome-ftp.stanford.edu/pub/yeast/data_download/}\end{References}
\begin{SeeAlso}\relax
\code{\Link{pubRepo-class}}\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
    # Url may change but was correct at the time of coding
    url <- "ftp://genome-ftp.stanford.edu/pub/yeast/data_download/"
    # Creat a YG object
    ygeno <- YG(srcUrl = url)
    if(interactive()){
        # Read the file named "chromosomal_feature.tab". Takes a few
        # seconds to finish
        data <- readData(ygeno,
                         "chromosomal_feature/chromosomal_feature.tab",
                         cols2Keep =c(6, 1), sep = "\t")
    }
\end{ExampleCode}
\end{Examples}

