comparison rmarkdown_feature_counts.Rmd @ 13:eb51eca6cdf1 draft

update
author mingchen0919
date Fri, 29 Dec 2017 15:00:59 -0500
parents 238d57ce7d74
children bfa6440d01a3
comparison
equal deleted inserted replaced
12:7a2369ab4f84 13:eb51eca6cdf1
83 # Write counts into CSV file 83 # Write counts into CSV file
84 84
85 ```{r} 85 ```{r}
86 colnames(res$counts) = strsplit(opt$input_bam_names, ',')[[1]] 86 colnames(res$counts) = strsplit(opt$input_bam_names, ',')[[1]]
87 # write count into csv file 87 # write count into csv file
88 write.csv(res$counts, file = 'feature_counts.csv', row.names = TRUE) 88 write.table(res$counts, file = 'feature_counts.txt')
89 datatable(res$counts) 89 ```
90
91 Display the first 100 rows.
92
93 ```{r}
94 datatable(head(res$counts, 100))
90 ``` 95 ```
91 96
92 # Save results into RData file 97 # Save results into RData file
93 98
94 ```{r} 99 ```{r}