pi0.est(p, lambda = seq(0, 0.95, 0.05), ncs.value = "max", ncs.weights = NULL)lambda is a
vector. Either "max" or "paper". For details, see
Details.lambda
containing the weights used in the natural cubic spline fit. By default
no weights are used.smooth.spline used in this function.lambda, $pi0(lambda)$ is
computed by the number of p-values p larger than
$lambda$ divided by $(1-lambda)\m$,
where $m$ is the length of p.
If lambda is a value, $pi0(lambda)$ is the
estimate for the prior probabiltity $pi0$ that a gene is
not differentially expressed.
If lambda is a vector, a natural cubic spline $h$ with 3 degrees of
freedom is fitted through the data points
$(lambda,pi0(lambda))$,
where each point is weighed by ncs.weights. $pi0$ is estimated
by $h(v)$, where $v=max{lambda}$ if
ncs.value="max", and $v=1$ if ncs.value="paper".
SAM-class,sam,qvalue.cal