Description Usage Arguments Value
Run lm on each column in a cluster and combine p-values with the either stouffer-liptak or zscore method.
1 2 | combiner(formula, covs, meth, cor.method = "spearman",
combine.fn = stouffer_liptak.combine, weights = NULL)
|
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. |
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 |
weights |
optional weights matrix of same shape as meth |
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.