calcCoGAPSStat {CoGAPS} | R Documentation

## calculate statistic on sets of measurements (genes) or samples

### Description

calculates a statistic to determine if a pattern is enriched in a a particular set of measurements or samples.

### Usage

    calcCoGAPSStat(
      object,
      sets = NULL,
      whichMatrix = "featureLoadings",
      numPerm = 1000,
      ...
    )

    ## S4 method for signature 'CogapsResult'
    calcCoGAPSStat(
      object,
      sets = NULL,
      whichMatrix = "featureLoadings",
      numPerm = 1000,
      ...
    )

### Arguments

`object` | an object of type CogapsResult
`sets` | list of sets of measurements/samples
`whichMatrix` | either "featureLoadings" or "sampleFactors" indicating which matrix to calculate the statistics for
`numPerm` | number of permutations to use when calculatin p-value
`...` | handles old arguments for backwards compatibility

### Value

gene set statistics for each column of A

[Package CoGAPS version 3.10.0 Index]