normpdf: Compute p-value with normal distribution.

Description Usage Arguments Value Author(s) Examples

View source: R/normpdf.R

Description

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

Usage

1
normpdf(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

p-values.

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<-normpdf(t,n,p,c1,c2)

Example output

Loading required package: edgeR
Loading required package: limma
Loading required package: statmod

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