Closed owo12138 closed 1 year ago
If encountering this bug, does it mean there's an issue with my data? How should I self-inspect my data and then improve it?
Both the datasets seem to be very old GWAS (more than a decade old), and include relatively small sample sizes. The error indicates that at least one of the traits has negative heritability, and I suspect this lack of heritability is creating a problem when trying to estimate cross-trait heritability. I'd recommend trying to use the original ldsc package (https://github.com/bulik/ldsc), and more broadly using more contemporary/larger GWAS which better capture the heritability of the underlying traits you're interested in.