multilevelError {fgsea} | R Documentation

## Calculates the expected error for the standard deviation of the P-value logarithm.

### Description

Calculates the expected error for the standard deviation of the P-value logarithm.

### Usage

    multilevelError(pval, sampleSize)

### Arguments

`pval` | P-value
`sampleSize` | equivavlent to sampleSize in fgseaMultilevel

### Value

The value of the expected error

### Examples

    expectedError <- multilevelError(pval=1e-10, sampleSize=1001)

[Package fgsea version 1.10.1 Index]