\HeaderA{gtResult-class}{A class for representing the result of a graphTheory test.}{gtResult.Rdash.class}
\keyword{classes}{gtResult-class}
\begin{Description}\relax
A class for representing the result of a \code{graphTheory} test.
\end{Description}
\begin{Section}{Slots}
\describe{
\item[\code{Pvalue}:] Object of class \code{"numeric"}
\item[\code{Observed}:] Return a \code{"numeric"}
vector: the observed  number of interactions between genes inducing a specific phenotype and each
cellular organizational units
\item[\code{Expected}:] Return a matrix: the expected
number of interactions between genes inducing a specific phenotype and each
cellular organizational units
}
\end{Section}
\begin{Section}{Extends}
Class \code{"\LinkA{testResult}{testResult.Rdash.class}"}, directly.
\end{Section}
\begin{Section}{Methods}
\describe{
\item[\code{plot}] Graphical representation of the test result
}
\end{Section}
\begin{Author}\relax
N. LeMeur
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{testResult}{testResult}},\code{\LinkA{deResult}{deResult}},\code{\LinkA{plot}{plot}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## apply a densityEstimate test 
data(DudleyPhenoM)
data(ScISIC)

DudleyPhenoL <- apply(DudleyPhenoM,2,function(x) names(which(x==1)))
NaCl <- DudleyPhenoL[["NaCl"]]

perm <- 20 
NaClGraph <- graphTheory(genename=NaCl, interactome=ScISIC,
perm=perm)
 

## access results
slotNames(NaClGraph)
NaClGraph@Pvalue[1:5]

## use of the plot method
plot(NaClGraph)
\end{ExampleCode}
\end{Examples}

