ratiometric.bbd.power: Calculates the power in a ratio-metric approach using a...

Description Usage Arguments Value

Description

The alpha and beta parameterize a proportion out of the total mutations in a gene, rather than a mutation rate per base.

Usage

1
2
ratiometric.bbd.power(my.alpha, my.beta, N, mu, Df = 1, Leff = 1500 * 3/4,
  r = 0.02, signif.level = 5e-06, nonsil.frac = 3/4)

Arguments

my.alpha

alpha parameter for beta binomial

my.beta

beta parameter for beta binomial

N

vector of sample sizes

mu

per base rate of mutation

Df

Fraction of driver mutations which are relavent to the ratio-metric feature of interest.

Leff

effective length of gene in bases (Length*nonsil.frac)

r

effect size for power analysis

signif.level

alpha level for power analysis

nonsil.frac

fraction of mutations which are non-silent

Value

vector containing power for each sample size


KarchinLab/cancerSeqStudy documentation built on May 8, 2019, 4:47 p.m.