Basics

Install cdsb2020this

R is an open-source statistical environment which can be easily modified to enhance its functionality via packages. cdsb2020this 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 cdsb2020this by using the following commands in your R session:

if (!requireNamespace("BiocManager", quietly = TRUE)) {
      install.packages("BiocManager")
  }

BiocManager::install("cdsb2020this")

## Check that you have a valid Bioconductor installation
BiocManager::valid()

Required knowledge

cdsb2020this 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.

Asking for help

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 cdsb2020this 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.

Citing cdsb2020this

We hope that cdsb2020this will be useful for your research. Please use the following information to cite the package and the overall approach. Thank you!

## Citation info
citation("cdsb2020this")
#> 
#> lcolladotor (2020). _Ejemplo de biocthis para cdsb2020_. doi:
#> 10.18129/B9.bioc.cdsb2020this (URL:
#> https://doi.org/10.18129/B9.bioc.cdsb2020this),
#> https://github.com/lcolladotor/cdsb2020this - R package version 0.99.0,
#> <URL: http://www.bioconductor.org/packages/cdsb2020this>.
#> 
#> lcolladotor (2020). "Ejemplo de biocthis para cdsb2020." _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)'.

Quick start to using to cdsb2020this

Edit this as you see fit =)

Here is an example of you can cite your package inside the vignette:

Reproducibility

The cdsb2020this package (lcolladotor, 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("cdsb2020this.Rmd", "BiocStyle::html_document"))

## Extract the R code
library("knitr")
knit("cdsb2020this.Rmd", tangle = TRUE)
## Clean up
file.remove("cdsb2020this.bib")
#> [1] TRUE

Date the vignette was generated.

#> [1] "2020-08-04 20:08:10 UTC"

Wallclock time spent generating the vignette.

#> Time difference of 0.647 secs

R session information.

#> ─ Session info ───────────────────────────────────────────────────────────────────────────────────────────────────────
#>  setting  value                       
#>  version  R version 4.0.2 (2020-06-22)
#>  os       Ubuntu 20.04.1 LTS          
#>  system   x86_64, linux-gnu           
#>  ui       X11                         
#>  language (EN)                        
#>  collate  en_US.UTF-8                 
#>  ctype    en_US.UTF-8                 
#>  tz       UTC                         
#>  date     2020-08-04                  
#> 
#> ─ Packages ───────────────────────────────────────────────────────────────────────────────────────────────────────────
#>  package       * version    date       lib source                        
#>  assertthat      0.2.1      2019-03-21 [2] RSPM (R 4.0.0)                
#>  backports       1.1.8      2020-06-17 [2] RSPM (R 4.0.1)                
#>  bibtex          0.4.2.2    2020-01-02 [1] RSPM (R 4.0.0)                
#>  BiocManager     1.30.10    2019-11-16 [2] CRAN (R 4.0.2)                
#>  BiocStyle     * 2.17.0     2020-04-27 [1] Bioconductor                  
#>  bookdown        0.20       2020-06-23 [1] RSPM (R 4.0.2)                
#>  cdsb2020this  * 0.99.0     2020-08-04 [1] Bioconductor                  
#>  cli             2.0.2      2020-02-28 [2] RSPM (R 4.0.0)                
#>  crayon          1.3.4      2017-09-16 [2] RSPM (R 4.0.0)                
#>  desc            1.2.0      2018-05-01 [2] RSPM (R 4.0.0)                
#>  digest          0.6.25     2020-02-23 [2] RSPM (R 4.0.0)                
#>  evaluate        0.14       2019-05-28 [2] RSPM (R 4.0.0)                
#>  fansi           0.4.1      2020-01-08 [2] RSPM (R 4.0.0)                
#>  fs              1.5.0      2020-07-31 [2] RSPM (R 4.0.2)                
#>  generics        0.0.2      2018-11-29 [1] RSPM (R 4.0.0)                
#>  glue            1.4.1      2020-05-13 [2] RSPM (R 4.0.0)                
#>  htmltools       0.5.0      2020-06-16 [2] RSPM (R 4.0.1)                
#>  httr            1.4.2      2020-07-20 [2] RSPM (R 4.0.2)                
#>  jsonlite        1.7.0      2020-06-25 [2] RSPM (R 4.0.2)                
#>  knitcitations * 1.0.10     2019-09-15 [1] RSPM (R 4.0.0)                
#>  knitr           1.29       2020-06-23 [2] RSPM (R 4.0.2)                
#>  lubridate       1.7.9      2020-06-08 [1] RSPM (R 4.0.2)                
#>  magrittr        1.5        2014-11-22 [2] RSPM (R 4.0.0)                
#>  memoise         1.1.0      2017-04-21 [2] RSPM (R 4.0.0)                
#>  pkgdown         1.5.1.9000 2020-08-04 [1] Github (r-lib/pkgdown@eae56f0)
#>  plyr            1.8.6      2020-03-03 [1] RSPM (R 4.0.2)                
#>  R6              2.4.1      2019-11-12 [2] RSPM (R 4.0.0)                
#>  Rcpp            1.0.5      2020-07-06 [2] RSPM (R 4.0.2)                
#>  RefManageR      1.2.12     2019-04-03 [1] RSPM (R 4.0.0)                
#>  rlang           0.4.7      2020-07-09 [2] RSPM (R 4.0.2)                
#>  rmarkdown       2.3        2020-06-18 [1] RSPM (R 4.0.1)                
#>  rprojroot       1.3-2      2018-01-03 [2] RSPM (R 4.0.0)                
#>  sessioninfo   * 1.1.1      2018-11-05 [2] RSPM (R 4.0.0)                
#>  stringi         1.4.6      2020-02-17 [2] RSPM (R 4.0.0)                
#>  stringr         1.4.0      2019-02-10 [2] RSPM (R 4.0.0)                
#>  withr           2.2.0      2020-04-20 [2] RSPM (R 4.0.0)                
#>  xfun            0.16       2020-07-24 [2] RSPM (R 4.0.2)                
#>  xml2            1.3.2      2020-04-23 [2] RSPM (R 4.0.0)                
#>  yaml            2.2.1      2020-02-01 [2] RSPM (R 4.0.0)                
#> 
#> [1] /usr/local/lib/R/host-site-library
#> [2] /usr/local/lib/R/site-library
#> [3] /usr/local/lib/R/library

Bibliography

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.3. 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://github.com/cboettig/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://github.com/r-lib/sessioninfo#readme>.

[4] lcolladotor. Ejemplo de biocthis para cdsb2020. https://github.com/lcolladotor/cdsb2020this - R package version 0.99.0. 2020. DOI: 10.18129/B9.bioc.cdsb2020this. <URL: http://www.bioconductor.org/packages/cdsb2020this>.

[5] A. Oleś, M. Morgan, and W. Huber. BiocStyle: Standard styles for vignettes and other Bioconductor documents. R package version 2.17.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.29. 2020. <URL: https://yihui.org/knitr/>.