LDMatrix¶
-
class
hail.
LDMatrix
(jldm)[source]¶ Represents a symmetric matrix encoding the Pearson correlation between each pair of variants in the accompanying variant list.
Methods
__init__
matrix
Gets the distributed matrix backing this LD matrix. to_local_matrix
Converts the LD matrix to a local Spark matrix. variant_list
Gets the list of variants. -
matrix
()[source]¶ Gets the distributed matrix backing this LD matrix.
Returns: Matrix of Pearson correlation values. Return type: IndexedRowMatrix
-