Skip to contents

Extract MAF vector from a GwasSumStats object.

Usage

getMaf(x, ...)

# S4 method for class 'SumStatsBase'
getMaf(x, ...)

# S4 method for class 'QtlDataset'
getMaf(x, region = NULL, cisWindow = NULL, samples = NULL, ...)

Arguments

x

A GwasSumStats or QtlDataset object.

...

Class-specific selection arguments (e.g., region, cisWindow for QtlDataset).

Value

Numeric vector of MAFs, or NULL if not available.