Description Usage Arguments Value Author(s) See Also Examples
View source: R/Report-methods.R
Creates a string that points to the given reference item in the specified report.
1 | rnb.get.reference(report, txt)
|
report |
Report that contains the reference to be cited. |
txt |
Text of the reference in the form of a non-empty |
Citation of the reference item (including a link) in the form of a one-element character
vector. If
the specified reference item is not found in the report, this method returns an empty string.
Yassen Assenov
rnb.add.reference
for adding a reference item to a report; 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.