\HeaderA{readSmc}{Read SMC files}{readSmc}
\aliasA{smc-class}{readSmc}{smc.Rdash.class}
\keyword{data}{readSmc}
\begin{Description}\relax
This function reads in SMCs (simple molecular concepts) from individual text files.
\end{Description}
\begin{Usage}
\begin{verbatim}
readSmc(files)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{files}] a character vector of file names 
\end{ldescription}
\end{Arguments}
\begin{Value}
A list of SMC objects
\end{Value}
\begin{Author}\relax
Kyle Furge <kyle.furge@vai.org> and Karl Dykema <karl.dykema@vai.org>
\end{Author}
\begin{References}\relax
??
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{writeSmc}{writeSmc}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}

datadir <- system.file("data", package = "PGSEA")
sample <- readGmt(file.path(datadir, "sample.gmt"))
str(sample)
sample[[1]]@reference <- "fileName"

## Not run: 
        writeSmc(sample[[1]])
        smc <- readSmc("fileName-0.txt")
## End(Not run)

\end{ExampleCode}
\end{Examples}

