Skip to content

Commit

Permalink
Fix in parameter passing
Browse files Browse the repository at this point in the history
  • Loading branch information
ctokheim committed May 16, 2016
1 parent b93764c commit 9b88b39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/cancerSeqStudy.R
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ smgBinomFullAnalysis <- function(mu, Leff, signif.level, effect.size,
ratiometricBinomFullAnalysis <- function(p, mu, L, signif.level, effect.size,
desired.power, samp.sizes, Df){
# calculate power
power.result.binom <- ratiometric.binom.power(p, samp.sizes, mu, L,
power.result.binom <- ratiometric.binom.power(p, samp.sizes, mu, L=L,
Df=Df, signif.level=signif.level,
r=effect.size)
binom.samp.size.min <- samp.sizes[min(which(power.result.binom>=desired.power))]
Expand Down Expand Up @@ -317,7 +317,7 @@ if (!is.null(opt$ARGS)){

# setting up the sample sizes to check
N <- 25000
by.step <- 25
by.step <- 10
samp.sizes <- seq(by.step, N, by=by.step) # grid of sample sizes to check

##################################
Expand Down

0 comments on commit 9b88b39

Please sign in to comment.