writeReport through
session-wide or call-specific settings.setSettings(x)
getSettings()getSettings.setSettings is called for its side effect of setting
session-wide settings.writeReport function produces a complete audit
trail of the analysis in the form of an HTML report. The content of
this report is highly customizable though session-wide and also
though call-specific settings. The former are supposed to be set using
the setSettings function by providing a named nested list of
values. The latter can be set by passing a similiar list on to
writeHTML as the optional settings argument. The
current values for all available settings can be queried using the
getSettings function.Similar to the structure of the HTML report, the available settings are broken up into subsections, and the names of these subsection have to be matched by the names in the nestes list structure:
"Helvetica".
"Helvetica".
"Helvetica".
"Helvetica".
plotPlate as argument
col. The default value is brewer.pal(9,
"YlOrRd").
plotPlate as argument xrange. The default
value is function(x) c(0, quantile(x, 0.95,
na.rm=TRUE)).
FALSE.
FALSE.
"Helvetica".
plotPlate as argument
col. The default value is brewer.pal(9,
"YlOrRd").
plotPlate as argument xrange. The default
value is function(x) c(0, quantile(x, 0.95,
na.rm=TRUE)).
FALSE.
FALSE.
"Helvetica".
plotPlate as argument col. The default
value is rev(brewer.pal(9, "RdBu")).
plotPlate as argument xrange. The default
value is function(x) quantile(x, c(0.025, 0.975),
na.rm = TRUE). A useful alternative setting here would
be function(x) c(-1,1) * max(abs(x), na.rm=TRUE),
which forces a value of 0 to be white.
FALSE.
FALSE.
"Helvetica".
TRUE.
"Helvetica".
c("pink", "lightblue").
"Helvetica".
"Helvetica".
posNeg being the color range used when
there are both positive and negative values, and the
second item being the color range for positive values
only. One usually wants the former to be centered on
white to blend into the background, and the former to
start from white. The default value is
list(posNeg=rev(brewer.pal(11, "RdBu"))[c(1:5,
rep(6,3), 7:11)], pos=brewer.pal(9, "Greys")).
1.
imageScreen for
details.
FALSE.
"Helvetica".
"Helvetica".
plate column, a well
column, followed by the columns containing the HTML hyper
links to add to the output table. Default is NULL, no links.
sample, neg, controls, other,
empty, flagged, act, inh and
pos. Additional user-defined well types that don't
fall in any of these groups will be assigned a color from the
palette defined in otherCol.
col.
writeReport
oset <- getSettings()
oset
setSettings(list(plateConfiguration=list(size=2),
list(plateList=list(intensities=list(include=FALSE)))))
getSettings()
setSettings(oset)
Run the code above in your browser using DataLab