This function is rather particular for ExpCube. It creates a series of GLM models, one for each "Expected" signature type. The function outputs a list of glm models and a new table analogous to sigmetrics.
1 2 | E3MakeGLMs(sigmetrics, group.covariates = NULL, glm.covariate = NULL,
glm.readcounts = TRUE, depth.col = "Depth_M_reads")
|
sigmetrics |
- a data frame with columns "Group", "Expected", "Overlap" |
group.covariates |
- |
glm.covariate |
- character. Name of column in group.covariates to use in the glm model |
glm.readcounts |
- logical. Set TRUE to include a term in the glm model for read depth. |
depth.col |
- column identifier. Column in sigmetrics holding depth data. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.