Learn R Programming

anapuce (version 2.3)

MeanBySpot: Mean By Spot

Description

Computes the mean on the different values of spots grouping by by.var.

Usage

MeanBySpot(fileIN, n = 3, name.A = "A", name.M = "M.norm", 
by.var = "ID", na.rm=TRUE)

Arguments

fileIN

input dataframe.

n

number of identificant columns.

name.A

character string containing a regular expression contained in the columnames corresponding to the A values.

name.M

character string containing a regular expression contained in the columnames corresponding to the M values.

by.var

name of the grouping variable.

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds

Value

A R dataframe

See Also

DiffAnalysis, DiffAnalysis.unpaired,mean