raiss.ld_matrix
Function set to compute LD correlation from a reference panel in predefined Region
LD matrix are then transformed to the pandas sparse format
Functions
|
go through region files and compute LD matrix for each transform and save the results in a pandas sparse dataframe |
|
Extract correlation matrix from the plink correlation file generated by ld_matrix.launch_plink_ld read plink results create a sparse dataframe LD-matrix then save it to a zipped pickle |
|
launch plink linkage desiquilibrium correlation and save the ouput |
|
|
|
Load matrix from LD matrix from scipy sparse file |