pA_logit_pairwise | R Documentation |
Function to compare the usage of all pairs of poly sites of a transcript
pA_logit_pairwise(data, model, design = NULL, sample_ID = NULL)
data |
Dataset containing poly A (pA) site read counts. This dataset must have a long shape, meaning that there should be only one
column containing read counts (and it MUST be named "count"). The first four columns must be called "transcript", "pA.site", "sample" and "count".
Thus, each row in |
model |
Regression model describing the dependence of pA site usage on sample attribute(s). |
design |
(optional) Design matrix. A matrix describing sample attributes which can be used as predictors in the regression model. |
sample_ID |
(optional) A key variable connecting the counts dataset ( |
Log ratios (called "Estimate", logistic regression coefficients) and p-values describing the effect of predictor(s) specified in the model on the usage ratio of pairs of pA sites per trancript. Standard error and z score of estimates are also given.
fit2_pA <- pA_logit_pairwise(pA.toy2, pA.site~cell_line, pA_design, "sample")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.