importBugSigDB | R Documentation |
Obtain published microbial signatures from bugsigdb.org
importBugSigDB(version = "10.5281/zenodo.13997429", cache = TRUE)
version |
character. A Zenodo DOI, git commit hash, or "devel". Defaults to the most recent stable release on Zenodo, which includes complete and reviewed content from BugSigDB. See details. |
cache |
logical. Should a locally cached version used if available?
Defaults to |
There are three different options to obtain data from
BugSigDB, as determined by the version
argument.
a Zenodo DOI: use this option if you would like to obtain
one of the stable release versions of BugSigDB on Zenodo. These
stable release versions of BugSigDB have been automatically checked and
manually reviewed and provide for the highest data quality. Select this option
if you would like to incorporate BugSigDB into analysis and published
research. If not specified otherwise, the importBugSigDB
function
will obtain the most recent stable release from Zenodo by default.
"devel"
: use this option to obtain the latest version
("bleeding edge") of BugSigDB from the BugSigDBExports GitHub repo
(see references).
Note that this will also include incomplete and not reviewed content,
which should be filtered out prior to an analysis.
Select this option if you are a curator that actively contributes to
BugSigDB and would like to access data that you and other curators have
recently contributed to BugSigDB and that has not been included in a stable
release yet.
a git commit hash: it might be occasionally of interest to obtain a specific snapshot of the BugSigDBExports GitHub repo, e.g. for the sake of debugging and troubleshooting. This can be done by providing the short 7-character git commit hash (SHA) or the full SHA of the export of choice. To provide the full SHA, go to the BugSigDBExports commits page (see references) and use the copy symbol to the left of the 7-character codes to copy the full SHA code of the export version you want to use.
a data.frame
.
BugSigDB: https://bugsigdb.org
Stable release: https://doi.org/10.5281/zenodo.10627578
Latest version (incl. not reviewed content): https://github.com/waldronlab/BugSigDBExports
Release v1.2.2: https://zenodo.org/records/13997429
Release v1.2.1: https://zenodo.org/records/10627578
Release v1.2.0: https://zenodo.org/records/10407666
Release v1.1.0: https://zenodo.org/records/6468009
Release v1.0.2: https://zenodo.org/records/5904281
Release v1.0.1: https://zenodo.org/records/5819260
Release v1.0.0: https://zenodo.org/records/5606166
BugSigDBExports commits page: https://github.com/waldronlab/BugSigDBExports/commits/devel
df <- importBugSigDB()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.