% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot-methods.R
\docType{methods}
\name{plot,peRes,missing-method}
\alias{plot,peRes,character-method}
\alias{plot,peRes,missing-method}
\title{Plot Pathway-Express result}
\usage{
\S4method{plot}{peRes,missing}(x, y, ..., comb.pv.func = compute.fisher,
adjust.method = "fdr", threshold = 0.05, eps = 1e-06)

\S4method{plot}{peRes,character}(x, y, ..., comb.pv.func = compute.fisher,
adjust.method = "fdr", threshold = 0.05, eps = 1e-06)
}
\arguments{

\item{y}{vector of two p-values names to be combined using \code{comb.pv.func} (default: \code{c("pAcc", "pORA")}).}

\item{...}{Arguments to be passed to methods, such as \code{\link{par}}.}

\item{comb.pv.func}{the function to combine the p-values - takes as input a vector of p-values
and returns the combined p-value (default: \code{\link{compute.fisher}}).}

\item{threshold}{corrected p-value threshold}

\item{eps}{any value smaller than this will be considered as \code{eps} (default: \code{1e-6}).}
}
\description{
Display a two-way plot using two of the p-values from the Pathway-Express analysis.
}
\examples{

fc <- top$logFC[top$adj.P.Val <= .01]
names(fc) <- top$entrez[top$adj.P.Val <= .01]
ref <- top\$entrez

# load the set of pathways
kpg <- keggPathwayGraphs("hsa")
kpg <- setEdgeWeights(kpg)
kpg <- setNodeWeights(kpg, defaultWeight = 1)

# perform the pathway analysis (for more accurate results use nboot = 2000)
peRes <- pe(fc, graphs = kpg, ref = ref, nboot = 100, verbose = TRUE)

plot(peRes)

plot(peRes, c("pPert","pORA"), comb.pv.func = compute.normalInv, threshold = .01)

}
\author{
Calin Voichita and Sorin Draghici
}
\seealso{