Description Usage Arguments Value
convert data to long format so that covs
is
replicated once for each column in meth
1 | expand.covs(covs, meth, weights = NULL)
|
covs |
data.frame of covariates |
meth |
matrix of methylation with same number of
rows as |
weights |
matrix of weights with same dim as of rows
as |
long-format data.frame with added columns for 'id', 'methylation' and 'CpG' (and possibly 'weights'). Has nrow == ncol(meth) * nrow(meth).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.