vignettes/JunePackage.Rmd
JunePackage.RmdJunePackage
R is an open-source statistical environment which can be easily modified to enhance its functionality via packages. JunePackage is a R package available via the Bioconductor repository for packages. R can be installed on any operating system from CRAN after which you can install JunePackage by using the following commands in your R session:
if (!requireNamespace("BiocManager", quietly = TRUE)) { install.packages("BiocManager") } BiocManager::install("JunePackage") ## Check that you have a valid Bioconductor installation BiocManager::valid()
JunePackage is based on many other packages and in particular in those that have implemented the infrastructure needed for dealing with RNA-seq data (EDIT!). That is, packages like SummarizedExperiment (EDIT!).
If you are asking yourself the question “Where do I start using Bioconductor?” you might be interested in this blog post.
As package developers, we try to explain clearly how to use our packages and in which order to use the functions. But R and Bioconductor have a steep learning curve so it is critical to learn where to ask for help. The blog post quoted above mentions some but we would like to highlight the Bioconductor support site as the main resource for getting help: remember to use the JunePackage tag and check the older posts. Other alternatives are available such as creating GitHub issues and tweeting. However, please note that if you want to receive help you should adhere to the posting guidelines. It is particularly critical that you provide a small reproducible example and your session information so package developers can track down the source of the error.
JunePackage
We hope that JunePackage will be useful for your research. Please use the following information to cite the package and the overall approach. Thank you!
## Citation info citation("JunePackage") #> #> lahuuki (2020). _Test and Learn Biocthis on JHPCE_. doi: #> 10.18129/B9.bioc.JunePackage (URL: #> https://doi.org/10.18129/B9.bioc.JunePackage), #> https://github.com/lahuuki/JunePackage - R package version 0.99.0, #> <URL: http://www.bioconductor.org/packages/JunePackage>. #> #> lahuuki (2020). "Test and Learn Biocthis on JHPCE." _bioRxiv_. doi: #> 10.1101/TODO (URL: https://doi.org/10.1101/TODO), <URL: #> https://www.biorxiv.org/content/10.1101/TODO>. #> #> To see these entries in BibTeX format, use 'print(<citation>, #> bibtex=TRUE)', 'toBibtex(.)', or set #> 'options(citation.bibtex.max=999)'.
JunePackage
library("JunePackage")
Edit this as you see fit =)
Here is an example of you can cite your package inside the vignette:
The JunePackage package (lahuuki, 2020) was made possible thanks to:
This package was developed using biocthis.
Code for creating the vignette
## Create the vignette library("rmarkdown") system.time(render("JunePackage.Rmd", "BiocStyle::html_document")) ## Extract the R code library("knitr") knit("JunePackage.Rmd", tangle = TRUE)
## Clean up file.remove("JunePackage.bib") #> [1] TRUE
Date the vignette was generated.
#> [1] "2020-06-01 15:08:14 EDT"
Wallclock time spent generating the vignette.
#> Time difference of 1.214 secs
R session information.
#> ─ Session info ───────────────────────────────────────────────────────────────────────────────────────────────────────
#> setting value
#> version R version 4.0.0 Patched (2020-05-13 r78451)
#> os CentOS Linux 7 (Core)
#> system x86_64, linux-gnu
#> ui X11
#> language (EN)
#> collate en_US.UTF-8
#> ctype en_US.UTF-8
#> tz US/Eastern
#> date 2020-06-01
#>
#> ─ Packages ───────────────────────────────────────────────────────────────────────────────────────────────────────────
#> package * version date lib source
#> assertthat 0.2.1 2019-03-21 [2] CRAN (R 4.0.0)
#> backports 1.1.7 2020-05-13 [2] CRAN (R 4.0.0)
#> bibtex 0.4.2.2 2020-01-02 [2] CRAN (R 4.0.0)
#> BiocManager 1.30.10 2019-11-16 [2] CRAN (R 4.0.0)
#> BiocStyle * 2.16.0 2020-04-27 [1] Bioconductor
#> bookdown 0.19 2020-05-15 [1] CRAN (R 4.0.0)
#> cli 2.0.2 2020-02-28 [1] CRAN (R 4.0.0)
#> crayon 1.3.4 2017-09-16 [2] CRAN (R 4.0.0)
#> desc 1.2.0 2018-05-01 [2] CRAN (R 4.0.0)
#> digest 0.6.25 2020-02-23 [1] CRAN (R 4.0.0)
#> evaluate 0.14 2019-05-28 [2] CRAN (R 4.0.0)
#> fansi 0.4.1 2020-01-08 [2] CRAN (R 4.0.0)
#> fs 1.4.1 2020-04-04 [1] CRAN (R 4.0.0)
#> generics 0.0.2 2018-11-29 [2] CRAN (R 4.0.0)
#> glue 1.4.1 2020-05-13 [1] CRAN (R 4.0.0)
#> htmltools 0.4.0 2019-10-04 [2] CRAN (R 4.0.0)
#> httr 1.4.1 2019-08-05 [2] CRAN (R 4.0.0)
#> jsonlite 1.6.1 2020-02-02 [2] CRAN (R 4.0.0)
#> JunePackage * 0.99.0 2020-06-01 [1] Bioconductor
#> knitcitations * 1.0.10 2019-09-15 [1] CRAN (R 4.0.0)
#> knitr 1.28 2020-02-06 [2] CRAN (R 4.0.0)
#> lubridate 1.7.8 2020-04-06 [1] CRAN (R 4.0.0)
#> magrittr 1.5 2014-11-22 [2] CRAN (R 4.0.0)
#> MASS 7.3-51.6 2020-04-26 [3] CRAN (R 4.0.0)
#> memoise 1.1.0 2017-04-21 [2] CRAN (R 4.0.0)
#> pkgdown 1.5.1 2020-04-09 [1] CRAN (R 4.0.0)
#> plyr 1.8.6 2020-03-03 [2] CRAN (R 4.0.0)
#> R6 2.4.1 2019-11-12 [2] CRAN (R 4.0.0)
#> Rcpp 1.0.4.6 2020-04-09 [1] CRAN (R 4.0.0)
#> RefManageR 1.2.12 2019-04-03 [1] CRAN (R 4.0.0)
#> rlang 0.4.6 2020-05-02 [1] CRAN (R 4.0.0)
#> rmarkdown 2.2 2020-05-31 [1] CRAN (R 4.0.0)
#> rprojroot 1.3-2 2018-01-03 [2] CRAN (R 4.0.0)
#> sessioninfo * 1.1.1 2018-11-05 [2] CRAN (R 4.0.0)
#> stringi 1.4.6 2020-02-17 [2] CRAN (R 4.0.0)
#> stringr 1.4.0 2019-02-10 [2] CRAN (R 4.0.0)
#> withr 2.2.0 2020-04-20 [1] CRAN (R 4.0.0)
#> xfun 0.13 2020-04-13 [2] CRAN (R 4.0.0)
#> xml2 1.3.2 2020-04-23 [2] CRAN (R 4.0.0)
#> yaml 2.2.1 2020-02-01 [2] CRAN (R 4.0.0)
#>
#> [1] /users/lhuuki/R/4.0
#> [2] /jhpce/shared/jhpce/core/conda/miniconda3-4.6.14/envs/svnR-4.0/R/4.0/lib64/R/site-library
#> [3] /jhpce/shared/jhpce/core/conda/miniconda3-4.6.14/envs/svnR-4.0/R/4.0/lib64/R/library
This vignette was generated using BiocStyle (Oleś, Morgan, and Huber, 2020) with knitr (Xie, 2020) and rmarkdown (Allaire, Xie, McPherson, Luraschi, et al., 2020) running behind the scenes.
Citations made with knitcitations (Boettiger, 2019).
[1] J. Allaire, Y. Xie, J. McPherson, J. Luraschi, et al. rmarkdown: Dynamic Documents for R. R package version 2.2. 2020. <URL: https://github.com/rstudio/rmarkdown>.
[2] C. Boettiger. knitcitations: Citations for ‘Knitr’ Markdown Files. R package version 1.0.10. 2019. <URL: https://CRAN.R-project.org/package=knitcitations>.
[3] G. Csárdi, R. core, H. Wickham, W. Chang, et al. sessioninfo: R Session Information. R package version 1.1.1. 2018. <URL: https://CRAN.R-project.org/package=sessioninfo>.
[4] lahuuki. Test and Learn Biocthis on JHPCE. https://github.com/lahuuki/JunePackage - R package version 0.99.0. 2020. DOI: 10.18129/B9.bioc.JunePackage. <URL: http://www.bioconductor.org/packages/JunePackage>.
[5] A. Oleś, M. Morgan, and W. Huber. BiocStyle: Standard styles for vignettes and other Bioconductor documents. R package version 2.16.0. 2020. <URL: https://github.com/Bioconductor/BiocStyle>.
[6] R Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing. Vienna, Austria, 2020. <URL: https://www.R-project.org/>.
[7] H. Wickham. “testthat: Get Started with Testing”. In: The R Journal 3 (2011), pp. 5-10. <URL: https://journal.r-project.org/archive/2011-1/RJournal_2011-1_Wickham.pdf>.
[8] Y. Xie. knitr: A General-Purpose Package for Dynamic Report Generation in R. R package version 1.28. 2020. <URL: https://yihui.org/knitr/>.