Estimate Scale Factor in Mixture of t-Distributions
These functions estimate the unscaled standard deviation of the true (unobserved) log fold changes for differentially expressed genes.
They are used by the functions ebayes
and eBayes
and are not intended to be called directly by users.
tmixture.vector(tstat, stdev.unscaled, df, proportion, v0.lim = NULL) tmixture.matrix(tstat, stdev.unscaled, df, proportion, v0.lim = NULL)
tstat |
numeric vector or matrix of t-statistics. |
stdev.unscaled |
numeric vector or matrix, conformal with |
df |
numeric vector giving the degrees of freedom associated with |
proportion |
assumed proportion of genes that are differentially expressed. |
v0.lim |
numeric vector of length 2 giving the lower and upper limits for the estimated unscaled standard deviations. |
The values in each column of tstat
are assumed to follow a mixture of an ordinary t-distribution, with mixing proportion 1-proportion
, and (v0+v1)/v1
times a t-distribution, with mixing proportion proportion
.
Here v1
is stdev.unscaled^2
and v0
is the value to be estimated.
Numeric vector, of length equal to the number of columns of tstat
, containing estimated v0
values.
Gordon Smyth
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.