Mercurial > repos > mingchen0919 > rmarkdown_collection_builder
annotate collection_list.Rmd @ 2:f8d0ad99fe9b draft
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit ec13349788ea42e106b5ba3fc1a5095ed755e644-dirty
author | mingchen0919 |
---|---|
date | Mon, 25 Sep 2017 14:34:53 -0400 |
parents | f85a6bcf940e |
children | 9c2059916485 |
rev | line source |
---|---|
0
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
1 --- |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
2 title: 'Collection builder (collection type: list)' |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
3 output: |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
4 html_document: |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
5 number_sections: true |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
6 toc: true |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
7 theme: cosmo |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
8 highlight: tango |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
9 --- |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
10 |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
11 ```{r setup, include=FALSE, warning=FALSE, message=FALSE} |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
12 knitr::opts_chunk$set( |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
13 echo = ECHO |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
14 ) |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
15 ``` |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
16 |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
17 ```{r} |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
18 str(opt) |
87c21e14f221
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571
mingchen0919
parents:
diff
changeset
|
19 ``` |
1
f85a6bcf940e
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571-dirty
mingchen0919
parents:
0
diff
changeset
|
20 |
f85a6bcf940e
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571-dirty
mingchen0919
parents:
0
diff
changeset
|
21 |
f85a6bcf940e
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571-dirty
mingchen0919
parents:
0
diff
changeset
|
22 ```{bash 'copy data to working directory', echo=FALSE} |
f85a6bcf940e
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571-dirty
mingchen0919
parents:
0
diff
changeset
|
23 mkdir files_directory |
f85a6bcf940e
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571-dirty
mingchen0919
parents:
0
diff
changeset
|
24 # Copy uploaded data to the working directory |
f85a6bcf940e
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571-dirty
mingchen0919
parents:
0
diff
changeset
|
25 for f in $(echo FILE_LIST | sed "s/,/ /g") |
f85a6bcf940e
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571-dirty
mingchen0919
parents:
0
diff
changeset
|
26 do |
f85a6bcf940e
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571-dirty
mingchen0919
parents:
0
diff
changeset
|
27 cp $f ./files_directory |
f85a6bcf940e
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571-dirty
mingchen0919
parents:
0
diff
changeset
|
28 done |
f85a6bcf940e
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_collection_builder commit fecb83fd1c7b99c3672a61222f3822637eff2571-dirty
mingchen0919
parents:
0
diff
changeset
|
29 ``` |