Learn R Programming

methylMnM (version 1.10.0)

normpdft1: Compute p-value with normal distribution.

Description

The function is used to compute p-value with normal distribution.

Usage

normpdft1(t,n,p,c1,c2)

Arguments

t
Statistic.
n
The sum of MeDIP-seq count and MRE-seq count of each bin of two samples.
p
The probability in multinomial distribution.
c1
A constant to balance MeDIP-seq of sample 1 and sample 2.
c2
A constant to balance MRE-seq of sample 1 and sample 2.

Value

statistic of a bin.

Examples

Run this code
t<-0.1
n<-200
p<-c(0.25,0.25,0.25,0.25)
c1<-1
c2<-1
f<-normpdft1(t,n,p,c1,c2)

Run the code above in your browser using DataLab