Learn R Programming

wrMisc (version 1.15.3.1)

.getMvalue2: Get M value for each group of replicates based on comp

Description

This function calculates the 'M' value (ie log-ratio) for each group of replicates based on comp (eg for MA-plot) comp is matrix telling which groups to use/compare, assuming that dat are already group-means)

Usage

.getMvalue2(dat, comp)

Value

This function returns a numeric vector

Arguments

dat

(matrix or data.frame) main input

comp

(matrix) tells which groups to use/compare, assuming that dat are already group-means)

See Also

makeMAList

Examples

Run this code
.getAmean(matrix(11:18, ncol=4), gl(2,2))

Run the code above in your browser using DataLab