The goal of cdsb2022pkg
is to …
Get the latest stable R
release from CRAN. Then install cdsb2022pkg
from Bioconductor using the following code:
if (!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("cdsb2022pkg")
And the development version from GitHub with:
BiocManager::install("lcolladotor/cdsb2022pkg")
This is a basic example which shows you how to solve a common problem:
library("cdsb2022pkg")
#>
#> Attaching package: 'cdsb2022pkg'
#> The following object is masked from 'package:utils':
#>
#> demo
## basic example code
##
demo(3)
#> [1] 9
What is special about using README.Rmd
instead of just README.md
? You can include R chunks like so:
summary(cars)
#> speed dist
#> Min. : 4.0 Min. : 2.00
#> 1st Qu.:12.0 1st Qu.: 26.00
#> Median :15.0 Median : 36.00
#> Mean :15.4 Mean : 42.98
#> 3rd Qu.:19.0 3rd Qu.: 56.00
#> Max. :25.0 Max. :120.00
You’ll still need to render README.Rmd
regularly, to keep README.md
up-to-date.
You can also embed plots, for example:
In that case, don’t forget to commit and push the resulting figure files, so they display on GitHub!
Below is the citation output from using citation('cdsb2022pkg')
in R. Please run this yourself to check for any updates on how to cite cdsb2022pkg.
print(citation("cdsb2022pkg"), bibtex = TRUE)
#>
#> To cite package 'cdsb2022pkg' in publications use:
#>
#> lcolladotor (2022). _Demo de biocthis para CDSB2022_.
#> doi:10.18129/B9.bioc.cdsb2022pkg
#> <https://doi.org/10.18129/B9.bioc.cdsb2022pkg>,
#> https://github.com/lcolladotor/cdsb2022pkg/cdsb2022pkg - R package
#> version 0.99.0, <http://www.bioconductor.org/packages/cdsb2022pkg>.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {Demo de biocthis para CDSB2022},
#> author = {{lcolladotor}},
#> year = {2022},
#> url = {http://www.bioconductor.org/packages/cdsb2022pkg},
#> note = {https://github.com/lcolladotor/cdsb2022pkg/cdsb2022pkg - R package version 0.99.0},
#> doi = {10.18129/B9.bioc.cdsb2022pkg},
#> }
#>
#> lcolladotor (2022). "Demo de biocthis para CDSB2022." _bioRxiv_.
#> doi:10.1101/TODO <https://doi.org/10.1101/TODO>,
#> <https://www.biorxiv.org/content/10.1101/TODO>.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Article{,
#> title = {Demo de biocthis para CDSB2022},
#> author = {{lcolladotor}},
#> year = {2022},
#> journal = {bioRxiv},
#> doi = {10.1101/TODO},
#> url = {https://www.biorxiv.org/content/10.1101/TODO},
#> }
Please note that the cdsb2022pkg
was only made possible thanks to many other R and bioinformatics software authors, which are cited either in the vignettes and/or the paper(s) describing this package.
Please note that the cdsb2022pkg
project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
For more details, check the dev
directory.
This package was developed using biocthis.