hmorlon / PANDA

Phylogenetic ANalyses of DiversificAtion
24 stars 15 forks source link

Can you do fit_env models not spanning the entire timespan of the tree? #46

Closed jamie-thompson closed 1 year ago

jamie-thompson commented 1 year ago

My environmental data goes to only ~120Mya, but my tree is older than this. Can I fit these models to a younger age, or do I need to select younger clades?

FabienCondamine commented 1 year ago

Hello Jamie, Thanks for your question. As implemented in RPANDA, the _fitenv function requires the environmental variable to cover the entire timeframe of the focal dated tree. If not, the function will return an error message as you may have already seen. I hope this helps. Best regards,