groupZscores: Calculate z-scores for each peak

Description Usage Arguments Value Examples

View source: R/groupZscores.R

Description

Detect peaks and calculate z-scores for each peak

Usage

1
groupZscores(zscore)

Arguments

zscore

A vector of numeric. It is the z-scores of ratios for each window.

Value

A data.frame with column names as "zscore", "group", "grp.zscore", and "pvalue".

Examples

1
2
3
4
5
6
x <- seq_len(500)
a <- 2 * 2*pi/length(x)
y <- 20 * sin(x*a)
noise1 <- 20 * 1/10 * sin(x*a*10)
zscore <- y+noise1
groupZscores(zscore)

LihuaJulieZhu/NADfinder documentation built on May 17, 2019, 6:21 p.m.