Skip to contents

Extract phenotype variance from a GwasSumStats or QtlSumStats entry, selected by its identity tuple. Returns NULL when the entry has no varY recorded.

Usage

getVarY(x, ...)

# S4 method for class 'QtlSumStats'
getVarY(x, study = NULL, context = NULL, trait = NULL)

# S4 method for class 'GwasSumStats'
getVarY(x, study = NULL)

Arguments

x

A GwasSumStats or QtlSumStats object.

...

Class-specific selection arguments.

Value

Numeric phenotype variance, or NULL.