Learn R Programming

RUVSeq (version 1.6.2)

makeGroups: Make a matrix suitable for use with RUVSeq methods such as RUVs.

Description

Each row in the returned matrix corresponds to a set of replicate samples. The number of columns is the size of the largest set of replicates; rows for smaller sets are padded with -1 values.

Usage

makeGroups(xs)

Arguments

xs
A vector indicating membership in a group.

See Also

RUVs

Examples

Run this code
makeGroups(c("A","B","B","C","C","D","D","D","A"))

Run the code above in your browser using DataLab