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.