Mercurial > repos > mingchen0919 > rmarkdown_feature_counts
comparison rmarkdown_feature_counts.Rmd @ 1:a7f7e8a58a82 draft
update
author | mingchen0919 |
---|---|
date | Fri, 29 Dec 2017 20:12:30 -0500 |
parents | 5af86972b408 |
children |
comparison
equal
deleted
inserted
replaced
0:5af86972b408 | 1:a7f7e8a58a82 |
---|---|
17 | 17 |
18 | 18 |
19 # User input | 19 # User input |
20 | 20 |
21 ```{r 'user input'} | 21 ```{r 'user input'} |
22 opt | 22 user_input = data.frame(name = names(opt)[-1], |
23 value = unlist(opt)) | |
24 datatable(user_input, rownames = FALSE) | |
23 ``` | 25 ``` |
24 | 26 |
25 # Calculate feature counts | 27 # Calculate feature counts |
26 | 28 |
27 ```{r 'ste[ 2'} | 29 ```{r 'ste[ 2'} |
95 ``` | 97 ``` |
96 | 98 |
97 # Save results into RData file | 99 # Save results into RData file |
98 | 100 |
99 ```{r} | 101 ```{r} |
100 save(res, file = 'feature_counts.RData') | 102 save(opt, res, file = 'feature_counts.RData') |
101 str(res) | 103 str(res) |
102 ``` | 104 ``` |
103 | 105 |
104 | 106 |