Skip to content

Bug fix: count_ana_dispersal_event always returned 0 range contractions#16

Open
rurik-uniba wants to merge 2 commits intonmatzke:masterfrom
rurik-uniba:patch-BSM-zero-range-contractions
Open

Bug fix: count_ana_dispersal_event always returned 0 range contractions#16
rurik-uniba wants to merge 2 commits intonmatzke:masterfrom
rurik-uniba:patch-BSM-zero-range-contractions

Conversation

@rurik-uniba
Copy link

count_ana_dispersal_event always returned zero range contractions in Biogeographic stochastic mapping (BSM).
This was originally reported by Ollie White in 2020.

############ test if there is at least 1 extinction event (range contraction) reconstructed in any of the 50 stochastic mapping
BSMs_w_sourceAreas <- readRDS('BSMs_w_sourceAreas.RDS') # output from simulate_source_areas_ana_clado on example data (but it is true for any dataset)
any(count_ana_clado_events(BSMs_w_sourceAreas$clado_events_tables, BSMs_w_sourceAreas$ana_events_tables, c("K","O","M","H"), c("K","O","M","H"))$e_totals_list != 0)
BSMs_w_sourceAreas.zip

…ns in Biogeographic stochastic mapping (originally reported by Ollie White in 2020)
Bug fix: count_ana_clado_events does not include e_total_list in ana_totals_list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant