Learn R Programming

BiSeq (version 1.12.0)

estLocCor: Estimates the correlations of the z-scores

Description

For each location the correlation of this location's z-score to $\bar{Z}$ of its CpG cluster is estimated.

Usage

estLocCor(vario.sm)

Arguments

vario.sm
Output of smoothVariogram.

Value

variogram
A variogram matrix, usually created by smoothVariogram beforehand.
pValsList
A list of the test results per CpG cluster.
sigma.cluster
The standard deviations of z-scores within each cluster.
Z.cluster
The arithmetic means of the z-scores for each cluster.
length.cluster
The widths (number of pase pairs) of each cluster.

References

Yoav Benjamini and Ruth Heller (2007): False Discovery Rates for Spatial Signals. American Statistical Association, 102 (480): 1272-81.

See Also

makeVariogram, smoothVariogram

Examples

Run this code
data(betaResultsNull)

vario <- makeVariogram(betaResultsNull)
vario.sm <- smoothVariogram(vario, sill = 1)

locCor <- estLocCor(vario.sm)

Run the code above in your browser using DataLab