aps.one.dataset.div {AnalysisPageServer} | R Documentation |
Create HTML for a div element to contain one AnalysisPageServer data set
aps.one.dataset.div(svg.path = NULL, data.path = NULL, show.sidebar = TRUE, show.table = TRUE, num.table.rows = 10, extra.html.class = character(), extra.div.attr = NULL)
svg.path |
Path (could be relative to index.html) to (annotated) SVG file. NULL to only have data table and no picture. |
data.path |
Path (could be relative to index.html) to JSON file containing data set. NULL to only have SVG and no table |
show.sidebar |
Boolean. If TRUE (default) then show sidebar. If FALSE then omit it. |
show.table |
Boolean. If TRUE (default) then show sidebar. If FALSE then omit it. |
num.table.rows |
Number of table rows to show. Default: 10 |
extra.html.class |
Thesee are extra classes to add to the div. This could be used for
whatever extended purpose you want, like extra styling or logic. Should be an unnamed charvec.
Default is |
extra.div.attr |
These are extra attributes to add to the div. For example you could
add an |
Create HTML for a div element to contain one AnalysisPageServer data set. This function does not created, modify, or even check for existance of the SVG and JSON files. You provide paths and this function just includes those paths, however awful, in the HTML returned.
HTML string
Brad Friedman
aps.dataset.divs
, a convenience wrapper for this
function to create multple divs at once.