Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jlopez
sagJL
Commits
408cdcb2
Commit
408cdcb2
authored
May 21, 2019
by
mmassaviol
Browse files
Update sag yaml configuration file as an attribute
parent
07508cc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.R
View file @
408cdcb2
#!/usr/bin Rscript
# This script will take a SAG yaml configuration file and generate a ShinyApp
# Accepts one parameters: path to sag yaml configuration file
# Usage: Rscript /path/to/sag.yaml
args
=
commandArgs
(
trailingOnly
=
TRUE
)
source
(
"tools.R"
)
library
(
yaml
)
path_yml
<-
"/home/mbb/Documents/waw/workflows/Metabarcoding/sag.yaml"
#path_tools <- "/home/mbb/Documents/waw/tools"
path_yml
<-
args
[
1
]
APP
<<-
yaml.load_file
(
path_yml
)
$
App
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment