Description Usage Arguments Value Author(s) See Also Examples
View source: R/Report-methods.R
Adds a reference item to the given report.
1 | rnb.add.reference(report, txt)
|
report |
Report to add a reference item to. |
txt |
Text of the reference in the form of a non-empty |
The modified report.
Yassen Assenov
rnb.get.reference
for adding citations in the report's text; Report
for
other functions adding contents to an HTML report
1 2 3 4 5 | report <- createReport("example.html", "Example", init.configuration = TRUE)
txt.reference <- c("Bird A. ", "<i>Nucleic Acids Res.</i> <b>8</b> (1980)")
report <- rnb.add.reference(report, txt.reference)
txt <- c("This was shown in ", rnb.get.reference(report, txt.reference), ".")
rnb.add.paragraph(report, txt)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.