paternogbc / sensiPhy

R package to perform sensitivity analysis for comparative methods
http://onlinelibrary.wiley.com/doi/10.1111/2041-210X.12990/full
GNU General Public License v2.0
12 stars 4 forks source link

Trait evolution (discrete and continuous) improvements/issues #164

Closed gijsbertwerner closed 6 years ago

gijsbertwerner commented 6 years ago

Just for my/our benefit, and as a place for a quick note to not forget, have started this issue.

gijsbertwerner commented 6 years ago

Issues with clade_Discrete I am now aware of:

gijsbertwerner commented 6 years ago

There is no visualisation yet for this. We could repurpose the one for clade_phylm etc., but would be pretty difficult. I am leaving this for now, since the summary works fine and that is key, and suggest we only implement this is if we have time.

caterinap commented 6 years ago

Checked (Caterina) - only minor fixes in commits 55f4e5d and 30a74b56

Some things I changed while debugging (I will keep updating this):

Some other things to discuss (I will keep updating this):

gijsbertwerner commented 6 years ago

Yes, good point on the warnings, Caterina. I have generally not really done too much with any warnings any of the trait-evolution throw (another one you often get is optimisation parameters hitting their bounds), other than just printing them back to the user.

I am a bit of two minds on what to do with this. In principle I feel this is typically a result from the underlying methods, and if the users are using that, they should understand what is going on and deal with it at that level. Also relevant is this issue: https://github.com/paternogbc/sensiPhy/issues/168 For that reason, I would say that silencing might be a bit too risky?

But, let's certainly pick 'clean' examples that run without too many error messages from the underlying implementation !

paternogbc commented 6 years ago

I also agree for now (it is safer). Later we can discuss about warnings and try to find a more elegant solution.

gijsbertwerner commented 6 years ago

Influ_continuous issue should now be solved, see: https://github.com/paternogbc/sensiPhy/issues/171

caterinap commented 6 years ago

works nicely now!