\Header{tmixture}{Estimate Scale Factor in Mixture of t-Distributions}
\methalias{tmixture.matrix}{tmixture}
\methalias{tmixture.vector}{tmixture}
\keyword{htest}{tmixture}
\begin{Description}\relax
This function estimates the unscaled standard deviation of the log fold change for differentially expressed genes.
It is called by the function \code{ebayes} and is not intended to be called by users.
\end{Description}
\begin{Usage}
\begin{verbatim}
tmixture.vector(tstat,stdev.unscaled,df,proportion,c0lim=NULL)
tmixture.matrix(tstat,stdev.unscaled,df,proportion,c0lim=NULL)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{tstat}] numeric vector or matrix of t-statistics
\item[\code{stdev.unscaled}] numeric matrix conformal with \code{tstatf} containing the unscaled standard deviations for the coefficient estimators
\item[\code{df}] numeric vector giving the degrees of freedom associated with \code{tstat}
\item[\code{proportion}] assumed proportion of genes which are differentially expressed
\item[\code{c0lim}] optional upper limit for the estimated unscaled standard deviation
\end{ldescription}
\end{Arguments}
\begin{Value}
Numeric vector of length equal to the number of columns of \code{tstat} and \code{stdev.unscaled}.\end{Value}
\begin{Author}\relax
Gordon Smyth
\end{Author}
\begin{SeeAlso}\relax
\code{\Link{ebayes}}
\end{SeeAlso}

