- do todo below
- compile book
- run test
- compile function index
- [] run CRAN check
- RECOMPILE ALL INTERNAL DATASETS
- check that "combined" properly recycles the tree's node labels.
- New argument for
boot.matrix
:what
to specify whether to bootstrap rows ("rows"
- the default), columns ("columns"
) or both (c("rows", "columns")
). Thanks to Gavin Thomas for this suggestion.
- implement checks for what
- implement checks for dimensions (can now be integer or numeric - number to bootstrap)
- update the dispRity pipeline to call the bootstrapped dimensions.
- documentation
- test
- add sampling probabilities tutorial
- General rehaul of the
dispRity
RAM management! All disparity metrics can now have an optionalRAM.help
component that can generate any specific calculation and storage of data for helping the metric. This is then internally used bydispRity
to pre-calculate and optimise operations that use a lot of RAM or CPU time. For example, you can now useRAM.help = vegan::vegdist
to pre-calculate all distances in the trait space usingvegan::vegdist
. These pre-calculated distances are then used by the disparity metric avoiding recalculating distances internally. Thanks to Neha Sharma for this suggestion.
-
- metrics can now have
RAM.help
arguments that intake a function that will run some pre-calculations. For example, this function can bevegan::vegdist
.
- metrics can now have
-
- detect the need for RAM help in
get.dispRity.metric.handle
- detect the need for RAM help in
-
- compute heavy calculations at the whole data level in
dispRity
using theRAM.help
function before thelapply_loop
- compute heavy calculations at the whole data level in
-
- store the calculations in
data
similarly as tree asRAM.helper
- store the calculations in
-
- run the metrics using a potential
RAM.helper
similarly as tree.
- run the metrics using a potential
- documentation
- test
- update all the
dispRity
functions that have acheck.dist.matrix
function to use a helper neighbours span.tree.length pairwise.dist func.eve count.neighbours - do speed test for ego boost
- add an option
keep.distance = TRUE
todispRity
which does:- detect data as a distance matrix or not
- if yes +
keep.distance = TRUE
OR if no +keep.distance = TRUE
+ RAM.helper + distance based metric -> apply bootstrap or anything on rows and columns - if no, then old behaviour.
- flag new default with warning messages when detecting if yes. "Data is considered as a distance matrix and analysed by keeping the distances (toggle off using
keep.distances = FALSE
").
-
make a dispRity.multi vignette
-
make a dist.help section in the manual
-
update the bootstrap section in the manual with the dimensions
-
add
count.neigbhours
to the metrics section (New metric:count.neighbours
to count the number of neighbours for each elements within a certain radius (thanks to Rob MacDonald for the suggestion).) -
make a MCMCglmm related standalone vignette
-
make a morpho disparity (Claddis) standalone vignette
- Make roundness work for non-VCV matrices (specify the axis function, e.g. variances or quantiles).
- TODO
- Add vegan::adonis2 ref in adonis.dispRity
- TODO
- add references in .Rd:
- reduce.space algorithms
- vegan algorithms
- Check MacOS bugs in the coverage pipeline
- TODO