.getAmean2: Get A value for each group of replicates based on comp
Description
This function calculates the 'A' value (ie group mean) for each group of replicates (eg for MA-plot)
comp is matrix telling which groups to use/compare, assuming that dat are already group-means)
Usage
.getAmean2(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)