Changelog
Source:NEWS.md
DAISIEprep 1.0.0
CRAN release: 2024-12-17
NEW FEATURES
- Package data (
/data
) added to make it easier to load data in tutorial. Some data has been moved frominst/extdata
into/data
(#42). - A new
force_nonendemic_singleton
argument has been added toextract_island_species()
. This allows enforcing non-endemic island species to be extracted as singleton lineages on the island (under most scenarios) using the"asr"
extraction method. A newextract_nonendemic_forced()
function is added (collaboration with @luislvalente, #45). - A new vignette explaining the feature of forcing non-endemic species to be extracted as singletons has been added (collaboration with @luislvalente, #45).
- The DAISIEprep tutorial vignette has been improved. The explanations are more clear, with simpler data loading (@luislvalente, #42).
MINOR IMPROVEMENTS
- Input checking added to
add_island_colonist()
(collaboration with @luislvalente, #48). - Warn in
create_endemicity_status()
when species provided by user not found in phylogeny (collaboration with @luislvalente, #46). -
extract_multi_tip_species()
now returns anIsland_colonist
objects withcol_max_age
set toTRUE
. This enables DAISIE to make full use of max and min age information (#51). -
plot_phylod()
now plots the x-axis with the time counting from right to left to correctly label years before present (collaboration with @luislvalente, #50). - The package website now has a structured vignette dropdown menu (#49).
BUG FIXES
-
is_multi_tip_speices()
now checks that multi-tip monophyletic species have the same endemicity status to be considered multi-tip. This fixes a bug where species in the phylogeny with multiple tips but labelled according to where they are sampled with only a single island sample extracted using the"min"
algorithm would error (#51).
DAISIEprep 0.4.2
BUG FIXES
- Fix for a bug when the ancestral state reconstruction (see
add_asr_node_states()
) produces nested island colonists which was causing some island species to become duplicated in theisland_tbl
previous versions. The fix adds a new internal function to the packagerm_duplicate_island_species()
which is called inextract_island_species()
whenextraction_method = asr
. This function uses thenested_asr_species
argument (added toextract_island_species()
) to determine whether duplicated island species should be kept as smaller, more recent colonist and removed from the larger, older clade (nested_asr_species = "split"
), or whether the smaller, more recent colonist should be removed and the larger, older clade should retain the species (nested_asr_species = "group"
). Both choices result in duplicates being removed.
DAISIEprep 0.4.1
MINOR IMPROVEMENTS
-
...
(dots
) have been added as an argument toadd_asr_node_states()
in order to pass other arguments to thecastor
R package functions called for ancestral state reconstruction (castor::ask_mk_model()
andcastor::asr_max_parsimony()
). - Tests have been added to check arguments can be passed through
...
inadd_asr_node_states()
.
DAISIEprep 0.4.0
CRAN release: 2024-04-02
NEW FEATURES
- The rate model (
rate_model
) can now be selected inadd_asr_node_states()
and passed tocastor::asr_mk_model()
. Feature suggested by @rsetienne.
MINOR IMPROVEMENTS
-
add_missing_species()
now errors when the species name supplied tospecies_to_add_to
is not found in theisland_tbl
. Suggested by @luislvalente. - Function documentation for
add_island_colonist()
arguments has been improved. Suggested by @rsetienne. - Unit tests have been added for
add_asr_node_states()
. - Unit test for
add_missing_species()
has been updated. - Markdown formatting has been enabled for Roxygen documentation.
DAISIEprep 0.3.3
MINOR IMPROVEMENTS
- Addition of corHMM section to Extending ASR article, contributed by @TheoPannetier.
BUG FIXES
- Bug fix in
sse_states_to_endemicity()
(#17).
DAISIEprep 0.3.2
CRAN release: 2023-04-25
DAISIEprep 0.3.0
NEW FEATURES
- New vignette on performance of
extract_island_species()
BUG FIXES
- Bug fix for
benchmark()
function
DAISIEprep 0.2.1
MINOR IMPROVEMENTS
- Higher test coverage
-
plot_phylod()
tip labels are now white space separated
BUG FIXES
- Bug fixes for
benchmark()
function