shuffle_topm {OVESEG} | R Documentation

## Shuffle the top M groups

### Description

Shuffle the top M groups

### Usage

    shuffle_topm(y, group, weights, combM, geneSubset, seed)

### Arguments

`y` | a numeric matrix to be shuffled.
`group` | a integer vector indicating group indexes.
`weights` | optional numeric matrix containing prior weights.
`combM` | a integer matrix with each row giving one choice of M groups.
`geneSubset` | a integer vector indicating the probe pattern of combM.
`seed` | an integer seed for the random number generator.

### Value

shuffled expression matrix and weight matrix in top M groups.

[Package OVESEG version 1.3.0 Index]