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

View source: R/helper.R

makeGroupsR Documentation

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.

Author(s)

Kamil Slowikowski

See Also

RUVs

Examples

 makeGroups(c("A","B","B","C","C","D","D","D","A"))

drisso/RUVSeq documentation built on Nov. 25, 2022, 5:55 a.m.