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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
\name{colSumamrize}
\alias{colSummarizeAvg}
\alias{colSummarizeAvgLog}
\alias{colSummarizeBiweight}
\alias{colSummarizeBiweightLog}
\alias{colSummarizeLogAvg}
\alias{colSummarizeLogMedian}
\alias{colSummarizeMedian}
\alias{colSummarizeMedianLog}
\alias{colSummarizeMedianpolish}
\alias{colSummarizeMedianpolishLog}
\title{Summarize the column of matrices}
\description{Compute column wise summary values of a matrix.
}
\usage{
colSummarizeAvg(y)
colSummarizeAvgLog(y)
colSummarizeBiweight(y)
colSummarizeBiweightLog(y)
colSummarizeLogAvg(y)
colSummarizeLogMedian(y)
colSummarizeMedian(y)
colSummarizeMedianLog(y)
colSummarizeMedianpolish(y)
colSummarizeMedianpolishLog(y)
}
\arguments{
\item{y}{A numeric matrix}
}
\value{
A list with following items:
\item{Estimates}{Summary values for each column.}
\item{StdErrors}{Standard error estimates.}
}
\details{This groups of functions summarize the columns of a given
matrices.
\itemize{
\item{\code{colSummarizeAvg}}{Take means in column-wise manner}
\item{\code{colSummarizeAvgLog}}{\code{log2} transform the data and
then take means in column-wise manner}
\item{\code{colSummarizeBiweight}}{Summarize each column using a one
step Tukey Biweight procedure}
\item{\code{colSummarizeBiweightLog}}{\code{log2} transform the data
and then summarize each column using a one step Tuke Biweight
procedure}
\item{\code{colSummarizeLogAvg}}{Compute the mean of each column and
then \code{log2} transform it}
\item{\code{colSummarizeLogMedian}}{Compute the median of each
column and then \code{log2} transform it}
\item{\code{colSummarizeMedian}}{Compute the median of each column}
\item{\code{colSummarizeMedianLog}}{\code{log2} transform the data
and then summarize each column using the median}
\item{\code{colSummarizeMedianpolish}}{Use the median polish to
summarize each column, by also using a row effect (not returned)}
\item{\code{colSummarizeMedianpolishLog}}{\code{log2} transform the
data and then use the median polish to summarize each column, by
also using a row effect (not returned)}
}
}
\examples{
y <- matrix(10+rnorm(100),20,5)
colSummarizeAvg(y)
colSummarizeAvgLog(y)
colSummarizeBiweight(y)
colSummarizeBiweightLog(y)
colSummarizeLogAvg(y)
colSummarizeLogMedian(y)
colSummarizeMedian(y)
colSummarizeMedianLog(y)
colSummarizeMedianpolish(y)
colSummarizeMedianpolishLog(y)
}
\author{B. M. Bolstad \email{bmb@bmbolstad.com}}
\keyword{univar}
|