Description Usage Arguments Value
View source: R/total.effect.estimation.R
GCTA.rr
calculates the total effect of the exposure of the environmental mixture.
To estimate the the total effect, we use a method called GCTA. Genome-wide complex trait analysis (GCTA) Genome-based restricted maximum likelihood (GREML) is a statistical method for variance component estimation in genetics which quantifies the total narrow-sense (additive) contribution to a trait's heritability of a particular subset of genetic variants. More details of GCTA could be found in here. More details of total effect estimation and how it can be applied to mixtures can be found in the here.
1 |
x |
A numeric matrix. |
y |
A continuous vector. |
target |
A character value. |
bs.iter |
A numeric value. The number of iterations of bootstrap for variance estimation. |
verbose |
A boolean variable. If |
A list.
If target
= r2
,
r2
: Estimated the proportion of the variance explained x, which is the proportion of the variance in a health outcome that is predictable from the environmental mixtures
r2.var
: Estimated variance of the proportion of the variance explained x, calculated by a bootstrap resampling procedure
r2.bs.raw
: The raw bootstrap sampling result
If target
= beta2
,
beta2
: Estimated total effect.
beta2.var
: Estimated variance of the total effect via a bootstrap procedure
beta2.bs.raw
: The raw bootstrap sampling result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.