groupZscores {NADfinder} | R 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)

[Package NADfinder version 1.8.1 Index]