Skip to content

Commit

Permalink
Added help flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ctokheim committed Mar 12, 2016
1 parent c1fe69d commit 3ef5211
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions R/cancerSeqStudy.R
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
library(VGAM)
library(reshape2)
library(parallel)

# get command line args
if ("getopt" %in% rownames(installed.packages())){
# get command line arguments
library(getopt)
spec <- matrix(c(
'mcores', 'c', 1, 'integer',
'output', 'o', 1, 'character'
'output', 'o', 1, 'character',
'help', 'h', 0, 'logical'
), byrow=TRUE, ncol=4)
opt = getopt(spec)
# print out help msg
Expand All @@ -22,6 +19,10 @@ if ("getopt" %in% rownames(installed.packages())){
opt <- list(ARGS=NULL)
}

library(VGAM)
library(reshape2)
library(parallel)

#' calculates the power in a binomial power model
#'
#' @param my.mu per base rate of mutation for binomial
Expand Down

0 comments on commit 3ef5211

Please sign in to comment.