findDelta(object, fdr = NULL, genes = NULL, prec = 6, initial = NULL, verbose = FALSE)
fdr
and genes
can be specified.fdr
and
genes
can be specified.object
is an EBAM object, both values must also be smaller than or equal to 1.
If not specified, the minimum is set to 0.1, and the maximum to either the maximum
posterior (EBAM) or the maximum absolute distance between the observed and the corresponding
expected values of the test statistic (SAM).fdr
or genes
, then a vector
of length 3 consisting of Delta and the corresponding number of genes and the estimated FDR.
If such a value is not found, then a matrix with two rows and three columns, where the two
rows contain the number of genes/variables and the estimated FDR for the two considered values
of Delta that provide the closest upper and lower bounds to the desired FDR (if fdr
is
specified) or number of genes/variables (if genes
is specified.)
sam
, ebam