agreement: Function to measure intra-replicate agreement for methylation...

Description Usage Arguments Details Value Examples

View source: R/funtoonorm.R

Description

Function to measure intra-replicate agreement for methylation data.

Usage

1
agreement(Beta, individualID)

Arguments

Beta

: Matrix with beta-values, rows corresponding to probes, columns corresponding to samples.

individualID

: a vector where 2 replicates have the exact same value for two technical replicates. Order of samples should nmatch the samples (columns) in Beta

Details

We expect that the values returned by the agreement function after normalization by funtooNorm to be smaller than before.

Value

The average value of the square distance between replicates: a measure of agreement between replicates in methylation data.

Examples

1
agreement(cbind(rnorm(n = 10),rnorm(n = 10),rnorm(n = 10)),c(1,1,1))

funtooNorm documentation built on Nov. 1, 2018, 2:23 a.m.