Closed gijsbertwerner closed 6 years ago
Issues with clade_Discrete I am now aware of:
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.
Checked (Caterina) - only minor fixes in commits 55f4e5d and 30a74b56
Some things I changed while debugging (I will keep updating this):
sensi_plot.sensiInflu.TraitEvol
from file sensi_plot.sensiIntra.sensiTree.R
to file sensi_plot.sensiInflu.R
Some other things to discuss (I will keep updating this):
fitDiscrete throws this type of warnings when track=TRUE - one possibility would be to silent them but it's a bit dangerous. For instance this happens in the example given in the help:
tree_binary_lambda<-tree_discrete(data = adultMass_binary,phy = primates$phy,
model = "SYM",transform = "lambda",n.tree = 30,track = T)
influ_continuous
: I get the same error as Gustavo in issue #171. Could not find the origin yet
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 !
I also agree for now (it is safer). Later we can discuss about warnings and try to find a more elegant solution.
Influ_continuous issue should now be solved, see: https://github.com/paternogbc/sensiPhy/issues/171
works nicely now!
Just for my/our benefit, and as a place for a quick note to not forget, have started this issue.