View source: R/get_bibliography.R
| get_bibliography | R Documentation |
Retrieve the bibliography/references stored in a bioRad object's attributes.
Works with vpts, pvol, and other objects that have an attributes$references field.
get_bibliography(x, format = c("R", "bibtex"))
x |
A bioRad object (e.g., |
format |
Character string indicating the output format. Either "R" (default) for R bibentry objects, or "bibtex" for BibTeX format. |
If format = "R", a list of bibentry objects from the object's
attributes$references. If format = "bibtex", a character vector of
BibTeX entries. Returns NULL if no references exist or if the object
doesn't have the expected structure.
# Get bibliography as R objects (default) from a vpts object
bibliography <- get_bibliography(example_vpts)
# Get bibliography as BibTeX from a vpts object
bibtex_bibliography <- get_bibliography(example_vpts, format = "bibtex")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.