I'm trying to do a heatmap with
plink's output for IBD calculation (
This file has several columns, but only three are important to me, so my parsed input format looks like this:
IID1 IID2 PI_HAT ID1 ID2 0.0163 ID1 ID3 0 ID1 ID4 0.0155 ID2 ID1 0.0096 ID2 ID3 0.0125 ID2 ID4 0.475 ...
I would like to do a heatmap with the PIHAT values for all my IDs (I have hundreds). To my understanding,
Rasks for a matrix as input for the plot, but I'm not able to parse this input into the correct format (I actually get the heatmap, but all the values are wrong). Could someone please give me advice or if there's another way to do the plot, I'd be as well to try it. Thank you very much in advance!