comparison ks_distribution.R @ 35:a96e89657621 draft

Uploaded
author greg
date Mon, 26 Jun 2017 10:50:50 -0400
parents 1800b6cdd672
children 6aeba53e195b
comparison
equal deleted inserted replaced
34:1800b6cdd672 35:a96e89657621
4 suppressPackageStartupMessages(library("rjson")) 4 suppressPackageStartupMessages(library("rjson"))
5 5
6 option_list <- list( 6 option_list <- list(
7 make_option(c("-c", "--components_input"), action="store", dest="components_input", help="Ks significant components input dataset"), 7 make_option(c("-c", "--components_input"), action="store", dest="components_input", help="Ks significant components input dataset"),
8 make_option(c("-k", "--kaks_input"), action="store", dest="kaks_input", help="KaKs analysis input dataset"), 8 make_option(c("-k", "--kaks_input"), action="store", dest="kaks_input", help="KaKs analysis input dataset"),
9 make_option(c("-n", "--num_comp"), action="store", dest="num_comp", type="integer", help="Number of significant components in the Ks distribution"), 9 make_option(c("-n", "--number_comp"), action="store", dest="number_comp", type="integer", help="Number of significant components in the Ks distribution"),
10 make_option(c("-o", "--output"), action="store", dest="output", help="Output dataset"), 10 make_option(c("-o", "--output"), action="store", dest="output", help="Output dataset"),
11 make_option(c("-r", "--colors"), action="store", default=NA, help="List of component colors") 11 make_option(c("-r", "--colors"), action="store", default=NA, help="List of component colors")
12 ) 12 )
13 13
14 parser <- OptionParser(usage="%prog [options] file", option_list=option_list) 14 parser <- OptionParser(usage="%prog [options] file", option_list=option_list)