View source: R/ds.exposure_histogram.R
ds.exposure_histogram | R Documentation |
Get a non-disclosive histogram plot for a selected exposure of a server side Exposome Set. The normality results are calculated using a Shapiro-Wilks test for small samples (n < 5000) and with Anderson-Darling test for big samples (n >= 5000).
ds.exposure_histogram(
exp,
exposure,
show.trans = FALSE,
...,
datasources = NULL
)
exp |
|
exposure |
|
show.trans |
|
... |
Parameters passed to the |
datasources |
a list of |
When using the show.trans
option, the negative values will be removed for the
sqrt-transformation and the 0 values will be removed for the log-transformation. Please be aware
the removal of those values could yield a DataSHIELD disclosive problem when creating the subset.
For example: If one exposure contains mostly negative values, when removing them to plot the sqrt-transformation
the subset creation will fail.
List with plot parameters
## Not run: Refer to the package Vignette for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.