Skip to contents

Return the GenotypeHandle carrying the LD reference for this collection. Defined on classes that embed an ldSketch slot: GwasSumStats, QtlSumStats, FineMappingResult, TwasWeights. Returns NULL when the slot is unset (e.g. a TwasWeights fit from individual-level data via QtlDataset).

Usage

getLdSketch(x, ...)

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

# S4 method for class 'FineMappingResultBase'
getLdSketch(x, ...)

# S4 method for class 'TwasWeights'
getLdSketch(x, ...)

Arguments

x

An S4 object that carries an ldSketch slot.

...

Unused.

Value

A GenotypeHandle or NULL.