lh3 / psmc

Implementation of the Pairwise Sequentially Markovian Coalescent (PSMC) model
Other
146 stars 60 forks source link

How to plot multiple boostrap results in one image? #52

Open cnxiaobo94 opened 1 year ago

cnxiaobo94 commented 1 year ago

Hi, I run psmc on three species with bootstrapping mode (10 times) and generate three results separately. (eg. 1_bootstrap.psmc, 2_bootstrap.psmc, 3_bootstrap.psmc) My question is how to plot these in one single image? I tried this with 'cat' and 'psmc_plot.pl' but it failed. Can anyone help me with this problem?

LiTingWinky commented 9 months ago

I have seen the same problem,have you solved it?

xubiy commented 4 months ago

I attempted to use a similar approach: psmc_plot.pl -g 1 -u 2.5e-08 -x 100 -M "A,B" -p combined_plot A_combined.psmc B_combined.psmc, but the resulting line colors in the output are very mixed up.

LiTingWinky commented 4 months ago

I merged the single result by AI .You can have a try.

---Original--- From: @.> Date: Wed, Mar 27, 2024 23:47 PM To: @.>; Cc: @.**@.>; Subject: Re: [lh3/psmc] How to plot multiple boostrap results in one image?(Issue #52)

I attempted to use a similar approach: psmc_plot.pl -g 1 -u 2.5e-08 -x 100 -M "A,B" -p combined_plot A_combined.psmc B_combined.psmc, but the resulting line colors in the output are very mixed up.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

xubiy commented 4 months ago

I merged the single result by AI .You can have a try. ---Original--- From: @.> Date: Wed, Mar 27, 2024 23:47 PM To: @.>; Cc: @.**@.>; Subject: Re: [lh3/psmc] How to plot multiple boostrap results in one image?(Issue #52) I attempted to use a similar approach: psmc_plot.pl -g 1 -u 2.5e-08 -x 100 -M "A,B" -p combined_plot A_combined.psmc B_combined.psmc, but the resulting line colors in the output are very mixed up. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Tks, I'll give it a try!

Xnisongurumayum commented 2 months ago

Can you explain how you did it?