runMiDASGetVarsFreq {midasHLA} | R Documentation

## Get variables frequencies from MiDAS

### Description

Helper getting variables frequencies from MiDAS object. Additionally for binary test covariate frequencies per phenotype are added. Used in scope of `runMiDAS`.

### Usage

    runMiDASGetVarsFreq(midas, experiment, test_covar)

### Arguments

`midas` | MiDAS object.
`experiment` | String specifying experiment from `midas`.
`test_covar` | String giving name of test covariate.

### Value

Data frame with variable number of columns. First column, `"term"` holds experiment's variables, further columns hold number of variable occurrence and their frequencies.

[Package midasHLA version 1.2.0 Index]