Skip to contents

Extract genotype matrix from an LDData object via the genotype handle. Returns NULL if no handle is available.

Usage

getGenotypes(x)

# S4 method for class 'LDData'
getGenotypes(x)

Arguments

x

An LDData object.

Value

A numeric matrix (samples x variants), a list of matrices for mixture panels, or NULL.