collapse.replicates: Collapse Replicates

Description Usage Arguments Value Author(s) See Also

Description

This function is intended for use in conjunction with RUVIII, specifically when using the average=TRUE option. When using the average=TRUE option, the adjusted data matrix has only one row for each set of replicates. In other words, each set of replicate rows in the orginal data matrix is "collapsed" into a single row in the adjusted data matrix. This function similarly collapses the rows of a dataframe of covariates. Only covariates that are constant within each set of replicates are retained.

Usage

1

Arguments

df

A dataframe.

M

The replicate structure. See RUVIII for details.

Value

A sub-dataframe of df.

Author(s)

Johann Gagnon-Bartsch johanngb@umich.edu

See Also

RUVIII


ruv documentation built on Aug. 31, 2019, 1:04 a.m.