Mercurial > repos > mingchen0919 > rmarkdown_i_adhore
annotate i_adhore_configure.Rmd @ 14:e10d998b078d draft
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 5fbff2ffc492ba5f6fbcbc05322dd47a8738ca6c
author | mingchen0919 |
---|---|
date | Tue, 29 Aug 2017 22:04:51 -0400 |
parents | d41a3115e470 |
children | 0927e9c47b6e |
rev | line source |
---|---|
0
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
1 --- |
14
e10d998b078d
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 5fbff2ffc492ba5f6fbcbc05322dd47a8738ca6c
mingchen0919
parents:
13
diff
changeset
|
2 title: 'i-ADHoRe: detect genomic homology' |
0
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
3 output: |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
4 html_document: |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
5 number_sections: true |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
6 toc: true |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
7 theme: cosmo |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
8 highlight: tango |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
9 --- |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
10 |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
11 ```{r setup, include=FALSE, warning=FALSE, message=FALSE} |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
12 knitr::opts_chunk$set(echo = ECHO) |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
13 ``` |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
14 |
13
d41a3115e470
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 377565cfe72b3455320ea04b7c58191bf4428d79-dirty
mingchen0919
parents:
12
diff
changeset
|
15 ```{r echo=FALSE} |
0
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
16 # Genomes and analysis files |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
17 g_analysis_files_set = strsplit(opt$g_analysis_file, ';')[[1]] |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
18 g_analysis_files_list = list() |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
19 for(i in g_analysis_files_set) { |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
20 genome = strsplit(i, ':')[[1]][1] |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
21 analysis_files = strsplit(i, ':')[[1]][2] %>% |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
22 strsplit(',') %>% `[[`(1) %>% |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
23 laply(.fun = function(x){ |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
24 file_name = strsplit(x, '/')[[1]] %>% tail(1) |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
25 file_name = strsplit(file_name, '\\.')[[1]][1] |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
26 paste0(file_name, ' ', x) |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
27 }) |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
28 g_analysis_files_list[[genome]] = c( |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
29 'name' = paste0('genome=', strsplit(i, ':')[[1]][1]), |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
30 'analysis_files' = analysis_files |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
31 ) |
13
d41a3115e470
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 377565cfe72b3455320ea04b7c58191bf4428d79-dirty
mingchen0919
parents:
12
diff
changeset
|
32 #print(paste0('genome=', strsplit(i, ':')[[1]][1])) |
d41a3115e470
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 377565cfe72b3455320ea04b7c58191bf4428d79-dirty
mingchen0919
parents:
12
diff
changeset
|
33 #print(analysis_files) |
0
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
34 } |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
35 ``` |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
36 |
13
d41a3115e470
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 377565cfe72b3455320ea04b7c58191bf4428d79-dirty
mingchen0919
parents:
12
diff
changeset
|
37 # Tool parameters |
0
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
38 |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
39 ```{r} |
5
dab02b629d48
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents:
0
diff
changeset
|
40 output_dir = tail(strsplit(opt$i_adhore_configure_dir, '/')[[1]], 1) |
6
8cf3b1298508
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents:
5
diff
changeset
|
41 output_path = gsub('dataset_.*dat', output_dir, opt$blast_table) |
5
dab02b629d48
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents:
0
diff
changeset
|
42 |
0
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
43 params = c( |
5
dab02b629d48
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents:
0
diff
changeset
|
44 'blast_table' = opt$blast_table, |
dab02b629d48
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents:
0
diff
changeset
|
45 'output_path' = output_path, |
0
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
46 'gap_size' = opt$gap_size, |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
47 'cluster_gap' = opt$cluster_gap, |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
48 'q_value' = opt$q_value, |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
49 'prob_cutoff' = opt$prob_cutoff, |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
50 'anchor_points' = opt$anchor_points, |
12
fcd72af3f41e
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 377565cfe72b3455320ea04b7c58191bf4428d79-dirty
mingchen0919
parents:
7
diff
changeset
|
51 'alignment_method' = opt$alignment_method, |
5
dab02b629d48
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents:
0
diff
changeset
|
52 'level_2_only' = tolower(opt$level2only), |
0
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
53 'table_type' = opt$table_type, |
5
dab02b629d48
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents:
0
diff
changeset
|
54 'multiple_hypothesis_correction' = opt$multi_hypothesis_correction |
0
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
55 ) |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
56 |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
57 df = data.frame(name = names(params), |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
58 value = params) |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
59 knitr::kable(df) |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
60 ``` |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
61 |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
62 |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
63 ```{r echo=FALSE} |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
64 # generate i_adhore_configure.txt file |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
65 lines = c(unlist(g_analysis_files_list), |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
66 ' ', |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
67 paste0(df$name, '=', df$value), |
5
dab02b629d48
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 60ea96204588be4348bd5d7879d1eb0d73f487c7-dirty
mingchen0919
parents:
0
diff
changeset
|
68 'compareAligners') |
0
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
69 fileConn = file('I_ADHORE_CONFIGURE_TXT') |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
70 writeLines(lines, con = fileConn) |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
71 ``` |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
72 |
9755ce6ac4d5
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit b6ef011f29d6c75775be9cc0e0abe53e19981d1d-dirty
mingchen0919
parents:
diff
changeset
|
73 |
7
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
74 # I-ADHoRe analysis results |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
75 |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
76 ```{bash} |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
77 # run i-adhore analysis |
13
d41a3115e470
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit 377565cfe72b3455320ea04b7c58191bf4428d79-dirty
mingchen0919
parents:
12
diff
changeset
|
78 i-adhore I_ADHORE_CONFIGURE_TXT > /dev/null 2>&1 |
7
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
79 ``` |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
80 |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
81 Links to outputs |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
82 |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
83 ```{r} |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
84 output_path |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
85 |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
86 outputs_list = list() |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
87 i_adhore_outputs = list.files(output_path) |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
88 for (i in i_adhore_outputs) { |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
89 outputs_list[[i]] = tags$li(tags$a(href=i, i)) |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
90 } |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
91 tags$ul(outputs_list) |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
92 ``` |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
93 |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
94 |
f86be5aeea36
planemo upload for repository https://github.com/statonlab/docker-GRReport/tree/master/my_tools/rmarkdown_i_adhore commit cc2f473d151c0de971c760a9aec9d09ff073ad85-dirty
mingchen0919
parents:
6
diff
changeset
|
95 |