biomarker.power.table {TailRank} | R Documentation |
Compute an array of power tables for the tail-rank.test.
biomarker.power.table(G) biomarker.power.table(G, N = seq(25, 250, by = 25)) biomarker.power.table(G, psi = c(0.95, 0.99)) biomarker.power.table(G, conf = 0.99) biomarker.power.table(G, phi = seq(0.1, 0.5, by = 0.05)) biomarker.power.table(G, N, psi, conf, phi)
G |
An integer; the number of genes being assessed as potential biomarkers. Statistically, the number of hypotheses being tested. |
N |
An integer; the number of "test" or "cancer" samples used. |
psi |
A real number between 0 and 1; the desired specificity of the test. |
conf |
A real number between 0 and 1; the confidence level of the results. Can be obtained by subtracting the family-wise Type I error from 1. |
phi |
A real number between 0 and 1; the sensitivity that one would like to be able to detect, conditional on the specificity. |
Returns a list of objects of the bmpt
class. Each item
in the list consists of a two-dimensional table (indexed by the sample
sizes N
and the sensitivities phi
) with scalars
recording the values of G
, conf
, and psi
that
were used to generate it.
Default values of the optional arguments (N
, psi
,
conf
, phi
)are included in the usage examples.
Kevin R. Coombes <kcoombes@mdanderson.org>
tail.rank.test
,
tail.rank.power
,
biomarker.power.table
,
matrix.mean
,
tol.bound
stuff <- biomarker.power.table(10000, c(10, 20, 50, 100, 250, 500), c(0.95, 0.99), c(0.99, 0.95), seq(0.1, 0.7, by=0.1)) lapply(stuff, summary)