.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)