The goal of pkgMetagenomica
is to …
Get the latest stable R
release from
CRAN. Then install pkgMetagenomica
from
Bioconductor using the following code:
if (!requireNamespace("BiocManager", quietly = TRUE)) {
install.packages("BiocManager")
}
BiocManager::install("pkgMetagenomica")
And the development version from GitHub with:
BiocManager::install("AlexPersa7/pkgMetagenomica")
This is a basic example which shows you how to solve a common problem:
library("pkgMetagenomica")
## basic example code
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('pkgMetagenomica')
in
R. Please run this yourself to check for any updates on how to cite
pkgMetagenomica.
print(citation('pkgMetagenomica'), bibtex = TRUE)
#>
#> To cite package 'pkgMetagenomica' in publications use:
#>
#> Pereira-Santana A (2022). _pkgMetagenomica: Package for metagenomic
#> analysis_. R package version 0.99.0,
#> <https://github.com/AlexPersa7/pkgMetagenomica>.
#>
#> A BibTeX entry for LaTeX users is
#>
#> @Manual{,
#> title = {pkgMetagenomica: Package for metagenomic analysis},
#> author = {Alejandro { Pereira-Santana}},
#> year = {2022},
#> note = {R package version 0.99.0},
#> url = {https://github.com/AlexPersa7/pkgMetagenomica},
#> }
Please note that the pkgMetagenomica
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 pkgMetagenomica
project is released with a
Contributor Code of
Conduct. By
contributing to this project, you agree to abide by its terms.
- Continuous code testing is possible thanks to GitHub actions through usethis, remotes, and rcmdcheck customized to use Bioconductor’s docker containers and BiocCheck.
- Code coverage assessment is possible thanks to codecov and covr.
- The documentation website is automatically updated thanks to pkgdown.
- The code is styled automatically thanks to styler.
- The documentation is formatted thanks to devtools and roxygen2.
For more details, check the dev
directory.
This package was developed using biocthis.