1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
\name{PWAmat}
\alias{PWAmat}
\title{A function to compute the probe to KEGG pathway incidence matrix.}
\description{
For a given chip we compute the mapping from probes to KEGG pathways.
}
\usage{
PWAmat(data)
}
\arguments{
\item{data}{The name of the chip for which the incidence matrix should
be computed.}
}
\details{
Not much to say, just find which probes are in which pathways and
return the incidence matrix, with pathways as rows and probes as
columns.
It would be nice to be able to specify a set of probes to use, so that
one does not do perform the calculations using all probes if they are
not of interest.
}
\value{
A matrix containing zero or one, depending on whether the probe
(row) is in a pathway (column).
}
\author{R. Gentleman}
\seealso{\code{\link{KEGG2heatmap}}, \code{\link{GOmnplot}}}
\examples{
library("hgu95av2.db")
Am1 <- PWAmat("hgu95av2")
}
\keyword{manip}
|