biomarker.power.table {TailRank}R Documentation

Power tables for the tail-rank test

Description

Compute an array of power tables for the tail-rank.test.

Usage

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)

Arguments

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.

Value

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.

Note

Default values of the optional arguments (N, psi, conf, phi)are included in the usage examples.

Author(s)

Kevin R. Coombes <kcoombes@mdanderson.org>

See Also

tail.rank.test, tail.rank.power, biomarker.power.table, matrix.mean, tol.bound

Examples

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)

[Package TailRank version 1.2 Index]