Basics
Install changchang
R
is an open-source statistical environment which can be
easily modified to enhance its functionality via packages. changchang
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
changchang
by using the following commands in your R
session:
if (!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("changchang")
## Check that you have a valid Bioconductor installation
BiocManager::valid()
Required knowledge
changchang 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
changchang
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 changchang
We hope that changchang will be useful for your research. Please use the following information to cite the package and the overall approach. Thank you!
## Citation info
citation("changchang")
#> To cite package 'changchang' in publications use:
#>
#> Plessy C (2024). _ChangChang_. doi:10.18129/B9.bioc.changchang
#> <https://doi.org/10.18129/B9.bioc.changchang>,
#> https://github.com//changchang - R package version 0.99.0,
#> <http://www.bioconductor.org/packages/changchang>.
#>
#> Plessy C (2024). "ChangChang." _bioRxiv_. doi:10.1101/TODO
#> <https://doi.org/10.1101/TODO>,
#> <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 changchang
library("changchang")
Edit this as you see fit =)
Here is an example of you can cite your package inside the vignette:
- changchang (Plessy, 2024)
Reproducibility
The changchang package (Plessy, 2024) was made possible thanks to:
- R (R Core Team, 2024)
- BiocStyle (Oleś, 2024)
- knitr (Xie, 2024)
- RefManageR (McLean, 2017)
- rmarkdown (Allaire, Xie, Dervieux, McPherson, Luraschi, Ushey, Atkins, Wickham, Cheng, Chang, and Iannone, 2024)
- sessioninfo (Wickham, Chang, Flight, Müller, and Hester, 2021)
- testthat (Wickham, 2011)
This package was developed using biocthis.
Code for creating the vignette
## Create the vignette
library("rmarkdown")
system.time(render("changchang.Rmd", "BiocStyle::html_document"))
## Extract the R code
library("knitr")
knit("changchang.Rmd", tangle = TRUE)
Date the vignette was generated.
#> [1] "2024-06-25 06:51:40 UTC"
Wallclock time spent generating the vignette.
#> Time difference of 7.351 secs
R
session information.
#> ─ Session info ───────────────────────────────────────────────────────────────────────────────────────────────────────
#> setting value
#> version R version 4.4.1 (2024-06-14)
#> os Ubuntu 22.04.4 LTS
#> system x86_64, linux-gnu
#> ui X11
#> language en
#> collate C.UTF-8
#> ctype C.UTF-8
#> tz UTC
#> date 2024-06-25
#> pandoc 3.1.11 @ /opt/hostedtoolcache/pandoc/3.1.11/x64/ (via rmarkdown)
#>
#> ─ Packages ───────────────────────────────────────────────────────────────────────────────────────────────────────────
#> package * version date (UTC) lib source
#> abind 1.4-5 2016-07-21 [1] RSPM
#> backports 1.5.0 2024-05-23 [1] RSPM
#> bibtex 0.5.1 2023-01-26 [1] RSPM
#> Biobase 2.64.0 2024-04-30 [1] Bioconduc~
#> BiocGenerics * 0.50.0 2024-04-30 [1] Bioconduc~
#> BiocIO 1.14.0 2024-04-30 [1] Bioconduc~
#> BiocManager 1.30.23 2024-05-04 [1] RSPM
#> BiocParallel 1.38.0 2024-04-30 [1] Bioconduc~
#> BiocStyle * 2.32.1 2024-06-16 [1] Bioconduc~
#> Biostrings 2.72.1 2024-06-02 [1] Bioconduc~
#> bitops 1.0-7 2021-04-24 [1] RSPM
#> bookdown 0.39 2024-04-15 [1] RSPM
#> bslib 0.7.0 2024-03-29 [1] RSPM
#> cachem 1.1.0 2024-05-16 [1] RSPM
#> changchang * 0.99.0 2024-06-25 [1] local
#> cli 3.6.3 2024-06-21 [1] RSPM
#> codetools 0.2-20 2024-03-31 [3] CRAN (R 4.4.1)
#> crayon 1.5.3 2024-06-20 [1] RSPM
#> curl 5.2.1 2024-03-01 [1] RSPM
#> DelayedArray 0.30.1 2024-05-07 [1] Bioconduc~
#> desc 1.4.3 2023-12-10 [1] RSPM
#> digest 0.6.36 2024-06-23 [1] RSPM
#> evaluate 0.24.0 2024-06-10 [1] RSPM
#> fastmap 1.2.0 2024-05-15 [1] RSPM
#> fs 1.6.4 2024-04-25 [1] RSPM
#> generics 0.1.3 2022-07-05 [1] RSPM
#> GenomeInfoDb * 1.40.1 2024-05-24 [1] Bioconduc~
#> GenomeInfoDbData 1.2.12 2024-06-25 [1] Bioconductor
#> GenomicAlignments 1.40.0 2024-04-30 [1] Bioconduc~
#> GenomicRanges * 1.56.1 2024-06-12 [1] Bioconduc~
#> glue 1.7.0 2024-01-09 [1] RSPM
#> htmltools 0.5.8.1 2024-04-04 [1] RSPM
#> httr 1.4.7 2023-08-15 [1] RSPM
#> IRanges * 2.38.0 2024-04-30 [1] Bioconduc~
#> jquerylib 0.1.4 2021-04-26 [1] RSPM
#> jsonlite 1.8.8 2023-12-04 [1] RSPM
#> knitr 1.47 2024-05-29 [1] RSPM
#> lattice 0.22-6 2024-03-20 [3] CRAN (R 4.4.1)
#> lifecycle 1.0.4 2023-11-07 [1] RSPM
#> lubridate 1.9.3 2023-09-27 [1] RSPM
#> magrittr 2.0.3 2022-03-30 [1] RSPM
#> Matrix 1.7-0 2024-04-26 [3] CRAN (R 4.4.1)
#> MatrixGenerics 1.16.0 2024-04-30 [1] Bioconduc~
#> matrixStats 1.3.0 2024-04-11 [1] RSPM
#> memoise 2.0.1 2021-11-26 [1] RSPM
#> pkgdown 2.0.9 2024-04-18 [1] any (@2.0.9)
#> plyr 1.8.9 2023-10-02 [1] RSPM
#> purrr 1.0.2 2023-08-10 [1] RSPM
#> R6 2.5.1 2021-08-19 [1] RSPM
#> ragg 1.3.2 2024-05-15 [1] RSPM
#> Rcpp 1.0.12 2024-01-09 [1] RSPM
#> RCurl 1.98-1.14 2024-01-09 [1] RSPM
#> RefManageR * 1.4.0 2022-09-30 [1] RSPM
#> restfulr 0.0.15 2022-06-16 [1] RSPM
#> rjson 0.2.21 2022-01-09 [1] RSPM
#> rlang 1.1.4 2024-06-04 [1] RSPM
#> rmarkdown 2.27 2024-05-17 [1] RSPM
#> Rsamtools 2.20.0 2024-04-30 [1] Bioconduc~
#> rtracklayer 1.64.0 2024-04-30 [1] Bioconduc~
#> S4Arrays 1.4.1 2024-05-20 [1] Bioconduc~
#> S4Vectors * 0.42.0 2024-04-30 [1] Bioconduc~
#> sass 0.4.9 2024-03-15 [1] RSPM
#> sessioninfo * 1.2.2 2021-12-06 [1] RSPM
#> SparseArray 1.4.8 2024-05-24 [1] Bioconduc~
#> stringi 1.8.4 2024-05-06 [1] RSPM
#> stringr 1.5.1 2023-11-14 [1] RSPM
#> SummarizedExperiment 1.34.0 2024-05-01 [1] Bioconduc~
#> systemfonts 1.1.0 2024-05-15 [1] RSPM
#> textshaping 0.4.0 2024-05-24 [1] RSPM
#> timechange 0.3.0 2024-01-18 [1] RSPM
#> UCSC.utils 1.0.0 2024-04-30 [1] Bioconduc~
#> vctrs 0.6.5 2023-12-01 [1] RSPM
#> xfun 0.45 2024-06-16 [1] RSPM
#> XML 3.99-0.16.1 2024-01-22 [1] RSPM
#> xml2 1.3.6 2023-12-04 [1] RSPM
#> XVector 0.44.0 2024-04-30 [1] Bioconduc~
#> yaml 2.3.8 2023-12-11 [1] RSPM
#> zlibbioc 1.50.0 2024-04-30 [1] Bioconduc~
#>
#> [1] /home/runner/work/_temp/Library
#> [2] /opt/R/4.4.1/lib/R/site-library
#> [3] /opt/R/4.4.1/lib/R/library
#>
#> ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Bibliography
This vignette was generated using BiocStyle (Oleś, 2024) with knitr (Xie, 2024) and rmarkdown (Allaire, Xie, Dervieux et al., 2024) running behind the scenes.
Citations made with RefManageR (McLean, 2017).
[1] J. Allaire, Y. Xie, C. Dervieux, et al. rmarkdown: Dynamic Documents for R. R package version 2.27. 2024. URL: https://github.com/rstudio/rmarkdown.
[2] M. W. McLean. “RefManageR: Import and Manage BibTeX and BibLaTeX References in R”. In: The Journal of Open Source Software (2017). DOI: 10.21105/joss.00338.
[3] A. Oleś. BiocStyle: Standard styles for vignettes and other Bioconductor documents. R package version 2.32.1. 2024. DOI: 10.18129/B9.bioc.BiocStyle. URL: https://bioconductor.org/packages/BiocStyle.
[4] C. Plessy. ChangChang. https://github.com//changchang - R package version 0.99.0. 2024. DOI: 10.18129/B9.bioc.changchang. URL: http://www.bioconductor.org/packages/changchang.
[5] R Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing. Vienna, Austria, 2024. URL: https://www.R-project.org/.
[6] 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.
[7] H. Wickham, W. Chang, R. Flight, et al. sessioninfo: R Session Information. R package version 1.2.2, https://r-lib.github.io/sessioninfo/. 2021. URL: https://github.com/r-lib/sessioninfo#readme.
[8] Y. Xie. knitr: A General-Purpose Package for Dynamic Report Generation in R. R package version 1.47. 2024. URL: https://yihui.org/knitr/.