permfunc {OVESEG} | R Documentation

## Internal function for one permutation task

### Description

Internal function for one permutation task

### Usage

    permfunc(p, y, group, weights, alpha, combM, geneSubset, seeds)

### Arguments

`p` | an integer indicating permutation index
`y` | an expressions matrix
`group` | a integer vector indicating group labels
`weights` | optional numeric matrix containing prior weights
`alpha` | parameter specifying within-group variance estimator to be used
`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

test statistics and upregulated group indexes after one permutaion

[Package OVESEG version 1.10.0 Index]