Computes the mean on the different values of spots grouping by by.var.
MeanBySpot(fileIN, n = 3, name.A = "A", name.M = "M.norm",
by.var = "ID", na.rm=TRUE)
input dataframe.
number of identificant columns.
character string containing a regular expression contained in the columnames corresponding to the A values.
character string containing a regular expression contained in the columnames corresponding to the M values.
name of the grouping variable.
a logical value indicating whether NA values should be stripped before the computation proceeds
A R dataframe