josefin-werme / LAVA

51 stars 9 forks source link

Error: Invalid target phenotype specified #63

Closed zakathornton closed 7 months ago

zakathornton commented 9 months ago

I am trying to run genetic correlation across the entire genome for multiple phenotypes, but I hit the error mentioned above. Please find below the output of my R output.

Screenshot 2024-01-17 at 17 46 38
josefin-werme commented 9 months ago

Hi,

It seems as if the 'target' argument is being used in one of the analyses functions, but as you can see certain phenotypes are being dropped during the processing of the loci, so if there is no check implemented to see whether this target phenotype actually exists then you would get an error like this.

If you still can't manage to fix it you can share the code here and I can have a look!

Best,

Josefin