static.analysis.page(outdir, svg.files, dfs, titles, show.xy = FALSE, use.rownames.for.ids = FALSE, check.rowname.case = TRUE, check.html4.ids = TRUE, group.length.vecs = NULL, signif.digits = 3, verbose = FALSE, overwrite = FALSE, write.client = TRUE, client.basedir = system.file("htdocs/client/dist-apss", package = "AnalysisPageServer"), app.html = "analysis-page-server-static.html", build.full.url = write.client, data.subdir = if (write.client) "data" else ".", randomize.filename = FALSE)
rep(NA, length(dfs))
, but a bit more careful about corner
cases and types. (So you have to provide at least one of svg.files
and dfs
).svg.files
or,
if length(svg.files) == 1
, a single data.frame
.
NULLs can be used as placeholders for datasets that have plot but no data,
but an error is thrown if the corresponding entry in svg.files
is
also NA. If omitted then all NULLss are used. (So you have to provide at least one of svg.files
and dfs
). Note that for dfs
we use NULLs since it is a list
but for svg.files
we use NAs since it is a vector and you can't hold
a place in a vector with NULL.svg.files
to display above each plot. Default is
rep("", length(svg.files))
.length(svg.files)
.svg.files
, so you can set it for each data set independently
if you so choose.use.rownames.for.ids
TRUE a check is made that there are not two
rownames that are equal without case senstitivity but not with (such as "FirstRow"
and "firstrow"). If any is found then an error is thrown.
This could possibly be a problem with some browsers, which might treat them the
same. FALSE means to skip this check.use.rownames.for.ids
TRUE a check is made that rownames are valid HTML4
IDs: begin with a letter ([A-Za-z]), then followed by any number of letters,
digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
(Taken from http://www.w3.org/TR/html4/types.html#h-6.2) FALSE means to skip
this check and try to use whatever IDs are there.svg.files
(or a single vector or NULL if length(svg.files) == 1
).
If non-NULL, each one is passed through to annotate.analysis.page.svg
as the group.lengths
argument, which allows you to specify that the elements
might be organized into multiple non-contiguous groups, for example separate panels.
A single NULL is recycled to length.annotate.data.frame
.
The number of significant digits to which non-integer numeric fields should
be rounded.message()
will be
used for progress updates.system.file("htdocs/client/dist-apss", package = "AnalysisPageServer")
.
Probably should not be modified except during development work on the client..html
file, relative to client.basedir
.
Default: "analysis-page-server-static.html".write.client
. For the return
value build a full
URL starting with "file://", using the full (normalized) path to output directory
and index.html, then the full query string. If FALSE then just return the query string.outdir
which will hold the data files.
Special value of "." means to put them in outdir
itself and not create a subdirectory.
Default: "data" if write.client
is TRUE and "." if it is FALSE.$URL
, which is
the URL to index.html file, or, if build.full.url = FALSE
then just the query string.
and second is $paths.list
, which lists the paths to all of the written plot and data
files, in the format described in link{static.analysis.page.query.string}
(and
suitable for passing to that function as the parameter of the same name).
Also in that subdirectory there will be other HTML and Javascript files as necessary.
Finally, your SVGs and data will be stored in subdirectories.
The first two columns of the data frame should be x and y coordinates of the points (or regions) in the plot that you want to associate with the rows of the data frame.
message("See vignette StaticContent.html")
Run the code above in your browser using DataLab