It's important to mention I'm using LDSC obtained though pip install ldsc for pyhton 3.11.4, so the version that is only available through pip install
How ever, I encountered the following error:
File "/software/python/Python-3.11.4/bin/ldsc.py", line 343, in ldscore
df = df.iloc[df.SNP.isin(print_snps.SNP),:]
I believe the expression df.SNP.isin(print_snps.SNP) would give back a boolean series, so for python 3 the appropriate way to write it would be with df.locinstead of df.iloc, so
Hi, Im trying to run something like
It's important to mention I'm using LDSC obtained though
pip install ldsc
for pyhton 3.11.4, so the version that is only available through pip installHow ever, I encountered the following error:
I believe the expression
df.SNP.isin(print_snps.SNP)
would give back a boolean series, so for python 3 the appropriate way to write it would be withdf.loc
instead ofdf.iloc
, so