Mercurial > repos > greg > bmsb
comparison bmsb.R @ 26:641c4954c76c draft
Uploaded
author | greg |
---|---|
date | Fri, 19 Aug 2016 14:48:43 -0400 |
parents | 08cb8c7228c2 |
children | 79cef4a790cc |
comparison
equal
deleted
inserted
replaced
25:08cb8c7228c2 | 26:641c4954c76c |
---|---|
1 #!/usr/bin/env Rscript | 1 #!/usr/bin/env Rscript |
2 | 2 |
3 suppressPackageStartupMessages(library("optparse")) | 3 suppressPackageStartupMessages(library("optparse")) |
4 | 4 |
5 option_list <- list( | 5 options_list <- list( |
6 make_option(c("-i", "--input"), action="store", help="Input dataset") | 6 make_option(c("-i", "--input"), action="store", help="Input dataset") |
7 make_option(c("-o", "--output"), action="store", help="Output dataset") | 7 make_option(c("-o", "--output"), action="store", help="Output dataset") |
8 ) | 8 ) |
9 | 9 |
10 parser <- OptionParser(usage="%prog [options] file", options_list) | 10 parser <- OptionParser(usage="%prog [options] file", options_list) |