Description Usage Arguments Value Methods (by generic) Slots Note See Also
Class imExposomeSet
was designed to store the exposures obtained
after a multiple imputation process done using mice
. The
data.frame
obtained from mice
has the particulatiry
to contain the columns .imp
and .id
joint
to phenotypes and exposures. The slots assayData
, featureData
,
and phenoData
are coordinated.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | ## S4 method for signature 'imExposomeSet,ANY'
plot(x, y, ...)
## S4 method for signature 'imExposomeSet'
dim(x)
## S4 method for signature 'imExposomeSet'
expos(object)
## S4 method for signature 'imExposomeSet'
exposureNames(object)
## S4 method for signature 'imExposomeSet'
extract(object, rid = -1, ...)
## S4 method for signature 'imExposomeSet'
exwas(
object,
formula,
filter,
family,
...,
baselevels,
tef = TRUE,
verbose = FALSE,
warnings = TRUE
)
## S4 method for signature 'imExposomeSet'
familyNames(object, by.exposure = FALSE)
## S4 method for signature 'imExposomeSet'
phenotypeNames(object)
## S4 method for signature 'imExposomeSet'
plotFamily(x, family, group, group2, scatter = FALSE, na.omit = TRUE)
## S4 method for signature 'imExposomeSet'
sampleNames(object)
## S4 method for signature 'imExposomeSet'
x[[i]]
## S4 method for signature 'imExposomeSet,ANY,ANY,ANY'
x[i, j, k, ..., drop = FALSE]
## S4 method for signature 'imExposomeSet'
toES(object, rid = 1)
|
x |
An |
y |
NOT USED |
... |
Other used arguments |
object |
An object of class |
rid |
Number of the imputation to be extracted |
formula |
Formula, not including exposures, to be tested. |
filter |
Expression to be used to filter |
family |
Family descriving the nature of the health outcome |
baselevels |
Labeled vector with the base-level of the categorical exposures |
tef |
If set to |
verbose |
If set to |
warnings |
If set to |
by.exposure |
If set to |
group |
Phenotype to group exposures |
group2 |
NOT USED |
scatter |
If set to true it shows the samples value in the plot |
na.omit |
NOT USED |
i |
Character coresponding to selected exposures. |
j |
Character corresponding to selected sample names. |
k |
Character corresponding to selected phenotypes. |
drop |
NOT USED |
An object of class imExposomeSet
plot
: Wrapper for plotFamily
method.
dim
: Returns the number of exsures, samples and phenotypes.
expos
: Returns a data.frame
with exposures.
exposureNames
: Method to obtain samples' names
extract
: Method to extract exposures for a single imputation
exwas
: Performs an EXposome-Wide Association Study
familyNames
: Getter to obtain the families's names of the
family of each exposure.
phenotypeNames
: Getter to obtain the families's names of the
family of each exposure.
plotFamily
: Draws a boxplot or accumulated-bar plot for each
exposure in the all imputed sets.
sampleNames
: Method to obtain samples' names
[[
: Get an ExposomeSet
with the selected
imputation
[
: Subset an imExposomeSet
toES
: Returns an ExposomeSet
with ethe given imputation.
nimputation
Number of imputations done with mice
.
assayData
data.frame
containing .imp
, .id
and
the exposures.
featureData
data.frame
containing the description of
the exposures.
phenoData
data.frame
containing .imp
, .id
and
the phenotypes.
Sample order is not guarantee
loadImputed
to create an imExposomeSet
from data.frames
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.