runMiDASGetVarsFreq: Get variables frequencies from MiDAS

View source: R/utils.R

runMiDASGetVarsFreqR 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.


Genentech/midasHLA documentation built on Feb. 12, 2024, 9:38 a.m.