SetRepGroup: Set replication groups numbers

Description Usage Arguments Value

Description

If there are data about replication groups, corresponding column is renamed in a standard way to "ReplicationGroup".
Otherwise function automatically adds a ReplicationGroup column into sampleData table according to group factors combinations.

Usage

1
2
## S4 method for signature 'MSdata'
SetRepGroup(msdata, repFac = NULL, impFac = NULL)

Arguments

msdata

MSdata-class object

repFac

If you already have replication group numbers in sample metadata, set repFac - the name of this factoring variable in table.

impFac

The vector of the names of factors which are taken into account during automatic replication group labeling. If NULL, all grouping factors are used.

Value

MSdata-class object with $ReplicationGroup in sample data table


flajole/MSdata documentation built on May 16, 2019, 1:17 p.m.