normpdf1: Compute p-value with normal distribution.

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

1
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.

Author(s)

Yan Zhou, Bo Zhang, Nan Lin, BaoXue Zhang and Ting Wang

Examples

1
2
3
4
5
6
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)

methylMnM documentation built on Nov. 8, 2020, 6:47 p.m.