Closed liamxg closed 3 months ago
Hi Liam, the error must be before this: pivot_longer is being given an empty object. Are there any other errors?
Hi @tgvaughan,
no error, but there are also no outputs. The figures
is empty.
Have you followed the instructions at the top of the script? Namely, certain files must already be available. It might help to evaluate the script in a piecewise manner within the interpreter.
Yes, I have run all the 4 steps. But no figures are generated yet.
I now see that you mentioned that the results
directory is empty. The beast 2 analyses should have filled that directory with results of the MCMC runs. Can you please confirm that you've run beast without error? If this hasn't been done, this is likely the source of the problem. (Note that, as described in the README.md file, figures are left in the figures
directory, not results
.)
sorry, the results
file are all log files, please see below:
However, the figures
file is empty:
The script expects a particular particular log file name format: Re_skyline.{max,min}_chains.sampUB{0.05,1.0}.*.log. I don't think the log files you have currently in results
follow this format? (What is the 1000 following Re_skyline?)
Dear @tgvaughan, very sorry to cause you confusion.
I changed the chain length to 1000 so it be used more short time to finish runs.
Hi Liam, for the figure generation it doesn't matter too much what the chain length is (although 1000 is extremely short and will likely just contain nonsense; you'll need a few million steps at least). What is a problem is that you've modified the filename format to include this number. I'd revert this format to its original value and try again.
Dear @tgvaughan,
Thanks again for your tips, now four figures are generated, please see below:
Fantastic! I will now close this issue.
Thanks, please.
Dear @tgvaughan,
When I run
postprocessing.R
file forCH
, it printed as below: