Mercurial > repos > mingchen0919 > rmarkdown_fastqc_report
comparison fastqc_report.Rmd @ 19:8c79e5b7cfc0 draft default tip
add boxplot for per base sequence quality
author | mingchen0919 |
---|---|
date | Thu, 09 Nov 2017 09:49:46 -0500 |
parents | 8635a4cee6dd |
children |
comparison
equal
deleted
inserted
replaced
18:8635a4cee6dd | 19:8c79e5b7cfc0 |
---|---|
161 geom_line(mapping = aes(x = id, y = Mean, color = "red")) + | 161 geom_line(mapping = aes(x = id, y = Mean, color = "red")) + |
162 scale_x_continuous(breaks = pbsq_2$id, labels = pbsq_2$X.Base) + | 162 scale_x_continuous(breaks = pbsq_2$id, labels = pbsq_2$X.Base) + |
163 scale_fill_identity() + | 163 scale_fill_identity() + |
164 scale_color_identity() + | 164 scale_color_identity() + |
165 ylim(0, max(comb_pbsq$Upper.Quartile) + 5) + | 165 ylim(0, max(comb_pbsq$Upper.Quartile) + 5) + |
166 xlab('Position in read (bp)') + | |
166 facet_grid(. ~ trim) + | 167 facet_grid(. ~ trim) + |
167 theme(axis.text.x = element_text(angle=45)) | 168 theme(axis.text.x = element_text(angle=45)) |
168 p | 169 p |
169 | 170 |
170 ``` | 171 ``` |
419 | 420 |
420 ```{r 'session info'} | 421 ```{r 'session info'} |
421 sessionInfo() | 422 sessionInfo() |
422 ``` | 423 ``` |
423 | 424 |
425 # References | |
426 | |
427 * Bioinformatics, Babraham (2014). FastQC. | |
428 | |
429 * Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff and Wickham, Hadley and Atkins, Aron and Hyndman, Rob (2016). rmarkdown: Dynamic Documents for R, 2016. In R package version 0.9, 6. | |
430 | |
431 * Xie, Yihui (2015). Dynamic Documents with R and knitr, CRC Press, Vol.29. | |
432 | |
433 * Carson Sievert and Chris Parmer and Toby Hocking and Scott Chamberlain and Karthik Ram and Marianne Corvellec and Pedro Despouy (2017). plotly: Create Interactive Web Graphics via 'plotly.js'. R package version 4.6.0. [Link] | |
434 | |
435 * Wickham, H. (2016). ggplot2: elegant graphics for data analysis. Springer. Chicago |