\HeaderA{readGmt}{readGmt}{readGmt}
\keyword{data}{readGmt}
\begin{Description}\relax
This function will read a "gmt" file into R, returning results as a list of SMC objects.
\end{Description}
\begin{Usage}
\begin{verbatim}
readGmt(fname)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{fname}] File name of concepts in .gmt format 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The .gmt file format is a tab delimited file format used to store gene lists. These gene lists are stored row by row. The first column is the gene set name. The second column is a brief description, and every entry after that is a gene within that gene set.
\end{Details}
\begin{Value}
A list of SMC objects
\end{Value}
\begin{Author}\relax
Karl Dykema <karl.dykema@vai.org>
\end{Author}
\begin{References}\relax
\url{http://www.broad.mit.edu/gsea/doc/data_formats.html#gmt }
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{writeGmt}{writeGmt}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}

        datadir <- system.file("data", package = "PGSEA")
        sample <- readGmt(file.path(datadir, "sample.gmt"))
        str(sample)

\end{ExampleCode}
\end{Examples}

