Description Usage Arguments Value
Run lm on each column in a cluster and combine p-values with the Stouffer-Liptak method or the z-score method. Missing data OK.
1 2 | combiner.missing(formula, covs, meth, weights = NULL,
cor.method = "spearman", combine.fn = stouffer_liptak.combine)
|
formula |
an R formula containing "methylation" |
covs |
covariate data.frame containing the terms in formula except "methylation" which is added automatically |
meth |
a matrix of correlated data. |
weights |
optional weights matrix of same shape as meth |
cor.method |
either "spearman" or "pearson" |
combine.fn |
a function that takes a list of
p-values and a correlation matrix and returns a combined
p-value |
list(covariate, p, coef)
where p and coef are for
the coefficient of the first term on the RHS of the model.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.