\HeaderA{plotEffects}{Plots data according to a phenotypic hierarchy}{plotEffects}
\keyword{graphs}{plotEffects}
\begin{Description}\relax
\code{plotEffects} visualizes the subset structure in the data by reordering rows and columns according to the topological order given by a phenotypic hierarchy.
\end{Description}
\begin{Usage}
\begin{verbatim}
plotEffects(D,nem,border=TRUE,legend=TRUE,order=NULL,orderSCC=TRUE,palette="BlueRed",...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{D}] data matrix
\item[\code{nem}] phenotypic hierarchy (object of class 'score' or 'pairwise')
\item[\code{border}] draw red lines to indicate gene-specific effect reporters. Default: TRUE
\item[\code{legend}] plot a legend. Default: TRUE
\item[\code{order}] pre-define an order of the S-genes instead of the topological order to visualize the subset structure. Default: Use topological order.
\item[\code{orderSCC}] Is the pre-defined order given on strongly connected components rather than on individual nodes?
\item[\code{palette}] color palette to use: either 'BlueRed' (default) or 'Grey'
\item[\code{...}] additional parameters for the graphics function 'image'
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The experiments in the columns are reordered according to the topological order given by a phenotypic hierarchy.
The effect reporters in the rows are grouped together by their position in the hierarchy.
The groups are then arranged by topological order.
Within each group the rows are hierarchically clustered.
\end{Details}
\begin{Value}
ordering of the E-genes according to the hierarchy (vector of indices)
\end{Value}
\begin{Note}\relax
This function was formerly named \code{plot.effects}. This naming is not possible any more, since S3 classes were used for the function \code{plot.nem}.
\end{Note}
\begin{Author}\relax
Florian Markowetz \textless{}URL: http://genomics.princeton.edu/\textasciitilde{}florian\textgreater{}, Holger Froehlich \textless{}URL: http:/www.dkfz.de/mga2/people/froehlich\textgreater{}
\end{Author}
\begin{Examples}
\begin{ExampleCode}
   data("BoutrosRNAi2002")
   D <- BoutrosRNAiDiscrete[,9:16]
   res <- nem(D,control=set.default.parameters(unique(colnames(D)), para=c(.13,.05)))
   plotEffects(D,res)
\end{ExampleCode}
\end{Examples}

