precimed / mixer

Causal Mixture Model for GWAS summary statistics
GNU General Public License v3.0
52 stars 16 forks source link

Univariate visualization #64

Closed yyy-nkl closed 1 year ago

yyy-nkl commented 1 year ago

Hello, In univariate analysis, I run this code to visualize the results after fitting the model: python mixer_figures.py combine --json ferr_qc_noMHC.fit.rep@.json --out combined/ferr.fit python mixer_figures.py one --json ferr.fit.json --out ferr_png --statistic mean std

But I only got the .csv file, I did not got any figures and appeared that: image

Does anyone know why only csv files are generated, no images? Thank you in advance!!

ofrei commented 1 year ago

Hi, this is expected when "mixer_figures.py one" is applied to the output of the "mixer.py fit1". The figures should be generated if you run "mixer.py test1", and pass it's output to "mixer_figures.py one". This should be covered in examples (both in the README here http://github.com/precimed/mixer, and in the use cases here https://github.com/comorment/mixer/tree/main/usecases )

yyy-nkl commented 1 year ago

Hi, this is expected when "mixer_figures.py one" is applied to the output of the "mixer.py fit1". The figures should be generated if you run "mixer.py test1", and pass it's output to "mixer_figures.py one". This should be covered in examples (both in the README here http://github.com/precimed/mixer, and in the use cases here https://github.com/comorment/mixer/tree/main/usecases )

Oh! I got it! I really did not run "mixer.py test1"! Thank you for your help !