powerEstimate: Estimate Power for Signature Detection

View source: R/epower.R

powerEstimateR Documentation

Estimate Power for Signature Detection

Description

Estimate Power for Signature Detection

Usage

powerEstimate(
  proportion,
  reference = "v2",
  use.model = TRUE,
  nsamp = 100,
  Mcoeff = NULL,
  afit = NULL,
  bfit = NULL,
  Msamp = NULL,
  verbose = TRUE,
  alpha = 0.05,
  Pmin = 0.8,
  ...
)

Arguments

proportion

Vector of signature proportions

reference

Reference signature version; currently only supports c('SA').

use.model

Use parametrized model. If FALSE, multinomial model will be simulated.

nsamp

No. of samples to use for simulation

Msamp

Vector mutation loads to sample

verbose

Print messages during sampling

alpha

False positive rate

Pmin

Lower bound for power

cut

Remove signatures with proportions below cut.


mskcc/tempoSig documentation built on Feb. 3, 2023, 8:35 a.m.