groupZscores: Calculate z-scores for each peak

View source: R/groupZscores.R

groupZscoresR Documentation

Calculate z-scores for each peak

Description

Detect peaks and calculate z-scores for each peak

Usage

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

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)


jianhong/NADfinder documentation built on Nov. 2, 2024, 12:09 a.m.