Hi Luis,
Because of the presence of clones, inbreeding, and structure in my population, the matrix from gl.grm generates some unusual values (values less than 1 on the diagonal and negative off-diagonals). Therefore I have instead used a matrix generated from EMIBD9 using Wang's 2022 kinship estimator which is designed for small samples and inbred populations. But I would still like to generate the gl.grm.network to visualise clones. This works with the Wang GRM as input, but I am concerned that the values on the network are incorrect because the values in the GRM I have used are different (e.g. values on the diagonals are f rather than 1+f, off-diagonals are kinship rather than two times the kinship). I tried editing my GRM to be in line with that generated by gl.grm by adding one to the diagonals and multiplying the off-diagonals by two to get two times the kinship coefficient, but I don't think I have done this correctly as it produced a weird network with no links at all and negative values.
So my questions are:
1) Would gl.grm.network still produce a correct network even if I use my matrix from gl.grm with weird values? i.e. is it all relative anyway?
2) If not, can another GRM be used as input into gl.grm.network, and if yes does this need to be edited to be compatible?
3) What would I need to edit in the GRM from EMIBD9 to make it compatible? My attempt obviously wasn't correct.
Thank you so much for your help,
Sarah