normpdf {methylMnM} | R Documentation |
The function is used to compute p-value with normal distribution.
normpdf(t,n,p,c1,c2)
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. |
p-values.
Yan Zhou, Bo Zhang, Nan Lin, BaoXue Zhang and Ting Wang
t<-0.1 n<-200 p<-c(0.25,0.25,0.25,0.25) c1<-1 c2<-1 f<-normpdf(t,n,p,c1,c2)