probBinom: Compute P-values for Medip-seq and MRE-seq data.

Description Usage Arguments Value Examples

View source: R/probBinom.R

Description

Compute P-values.

Usage

1
probBinom(t, size1, size2, c1, c2)

Arguments

t

The real value for random variable according to dataset.

size1

The sum of Medip-seq real reads of the each CpG site for control and treatment sample.

size2

The sum of MRE-seq real reads of the each CpG site for control and treatment sample.

c1

The scaling factor for MeDip-seq data.

c2

The scaling factor for MRE-seq data.

Value

p The P-values for testing the methylation expression levels for each CpG sites.

Examples

1
2
3
4
5
6
7
set.seed(1234)
t <- 0.1
size1 <- sample(1:1000, 1, replace=TRUE)
size2 <- sample(1:1000, 1, replace=TRUE)
c1 <- 1
c2 <- 2
result <- probBinom(t, size1, size2, c1, c2)

SIMD documentation built on Nov. 8, 2020, 5:12 p.m.