Skip to contents

Extract the LD correlation matrix from an LDData object. If only a genotype handle is available, recomputes R from genotypes on the fly.

Usage

getCorrelation(x)

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

Arguments

x

An LDData object.

Value

A correlation matrix, or a list of per-block matrices.