clustermodelr provides a consistent, simple interface to model correlated data using a number of different methds:
Generalized Estimating Equations
with all correlation structures available from
geepack
. geer
Mixed effect model in lme4 syntax
mixed_modelr
Calculates the
p-value for each entry in the cluster then combines the
p-values adjusting for correlation with either
stouffer_liptak.combine
or
zscore.combine
something
like bump-hunting but takes a putative "bump" and
repeatedly compares coefficients of estimated covariates to
the observed to assign significance.
bumpingr
SKAT already accepts a
matrix to test a null model. This just provides an
interface that matches the rest of the functions in this
package skatr
Each of these functions will accept a formula like:
methylation ~ disease + age
(with a random intercept for mixed_modelr) where
methylation
need not be methylation values, but is
assumed to be a matrix of correlated values.
For each of these functions, the return value will be a vector of:
c(covariate, p, coef.estimate)
where the covariate is taken as the first element on the RHS of the formula so disease in the formula above.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.