diff rmarkdown_feature_counts.Rmd @ 1:a7f7e8a58a82 draft

update
author mingchen0919
date Fri, 29 Dec 2017 20:12:30 -0500
parents 5af86972b408
children
line wrap: on
line diff
--- a/rmarkdown_feature_counts.Rmd	Fri Dec 29 15:03:18 2017 -0500
+++ b/rmarkdown_feature_counts.Rmd	Fri Dec 29 20:12:30 2017 -0500
@@ -19,7 +19,9 @@
 # User input
 
 ```{r 'user input'}
-opt
+user_input = data.frame(name = names(opt)[-1],
+                        value = unlist(opt))
+datatable(user_input, rownames = FALSE)
 ```
 
 # Calculate feature counts
@@ -97,7 +99,7 @@
 # Save results into RData file
 
 ```{r}
-save(res, file = 'feature_counts.RData')
+save(opt, res, file = 'feature_counts.RData')
 str(res)
 ```