Description Usage Arguments Value
View source: R/GLM_inference.R
GLM_inference
conduct inference on log2 fold changes of IP over input using the GLM defined in DESeq2.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | GLM_inference(
SE_bins,
glm_type = c("Poisson", "NB", "DESeq2"),
p_cutoff = 1e-05,
p_adj_cutoff = NULL,
count_cutoff = 5,
log2FC_mod = 1,
min_mod_number = NA,
correct_GC_bg = FALSE,
qtnorm = TRUE,
consistent_peak = FALSE,
consistent_log2FC_cutoff = 1,
consistent_fdr_cutoff = 0.05,
alpha = 0.05,
p0 = 0.8
)
|
SE_bins |
a |
glm_type |
a |
p_cutoff |
a |
p_adj_cutoff |
a |
count_cutoff |
an |
log2FC_mod |
a non negative |
min_mod_number |
a non negative |
correct_GC_bg |
a If |
qtnorm |
a Subset quantile normalization will be applied within the IP and input samples seperately to account for the inherent differences between the marginal distributions of IP and input samples. |
consistent_peak |
a |
consistent_log2FC_cutoff |
a |
consistent_fdr_cutoff |
a |
alpha |
a |
p0 |
a For a peak to be consistently methylated, the minimum number of significant enriched replicate pairs is defined as the 1 - alpha quantile of a binomial distribution with p = p0 and N = number of possible pairs between replicates. The consistency defined in this way is equivalent to the rejection of an exact binomial test with null hypothesis of p < p0 and N = replicates number of IP * replicates number of input. |
a list of the index for the significant modified peaks (IP > input) and control peaks (peaks other than modification containing peaks).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.