Package: paleoDiv 0.3.0

paleoDiv: Extracting and Visualizing Paleobiodiversity

Contains various tools for conveniently downloading and editing taxon-specific datasets from the Paleobiology Database <https://paleobiodb.org>, extracting information on abundance, temporal distribution of subtaxa and taxonomic diversity through deep time, and visualizing these data in relation to phylogeny and stratigraphy.

Authors:Darius Nau [aut, cre]

paleoDiv_0.3.0.tar.gz
paleoDiv_0.3.0.zip(r-4.5)paleoDiv_0.3.0.zip(r-4.4)paleoDiv_0.3.0.zip(r-4.3)
paleoDiv_0.3.0.tgz(r-4.4-any)paleoDiv_0.3.0.tgz(r-4.3-any)
paleoDiv_0.3.0.tar.gz(r-4.5-noble)paleoDiv_0.3.0.tar.gz(r-4.4-noble)
paleoDiv_0.3.0.tgz(r-4.4-emscripten)paleoDiv_0.3.0.tgz(r-4.3-emscripten)
paleoDiv.pdf |paleoDiv.html
paleoDiv/json (API)
NEWS

# Install 'paleoDiv' in R:
install.packages('paleoDiv', repos = c('https://theropod1.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

28 exports 2 stars 0.49 score 13 dependencies 163 downloads

Last updated 5 months agofrom:ea14718805. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 31 2024
R-4.5-winOKAug 31 2024
R-4.5-linuxOKAug 31 2024
R-4.4-winOKAug 31 2024
R-4.4-macOKAug 31 2024
R-4.3-winOKAug 31 2024
R-4.3-macOKAug 31 2024

Exports:ab.ggabdistr_add.alphaconvert.sptabdarkendiv.ggdivdistr_divdistr_intggcolmk.sptabocc.cleanuppdbpdb.autodivpdb.diffpdb.unionphylo.spindlesredraw.phylormeanrmeanastax.selsynonymizetree.age.combinetree.agestree.ages.sppts.periodsts.stagestsconvviol

Dependencies:apeclidigestgluelatticelifecyclemagrittrnlmeRcpprlangstringistringrvctrs

Paleobiodiversity Analysis

Rendered fromPaleobiodiversity_analysis.Rmdusingknitr::rmarkdownon Aug 31 2024.

Last update: 2024-05-03
Started: 2024-03-07

Readme and manuals

Help Manual

Help pageTopics
Make a data.frame() that can be used to plot diversity data with density plots, e.g. in ggplot2ab.gg
Count number of entries in occurrence or collection data.frame for specific points in geological timeabdistr_
Add transparency to any coloradd.alpha
ages_archosauriaages_archosauria
archosauriaarchosauria
Convert geological ages in taxon-range tables as constructed by mk.sptab() for plotting alongside a time-calibrated phylogeny.convert.sptab
Darken or lighten colors by adding/subtracting to or hsv channel valuesdarken
Make a data.frame() that can be used to plot diversity data with density plots, e.g. in ggplot2div.gg
Calculate total species diversity for any point in time based on a taxon-range tabledivdistr_
Count number of taxon records overlapping a specific time interval.divdistr_int
diversity_tablediversity_table
Replicate the standard color scheme from ggplot2ggcol
Generate a taxon-range table based on an occurrence dataset.mk.sptab
Clean up occurrence dataset by removing commonly used character combinations in the identified name that will result in different factor levels for the same taxon.occ.cleanup
Download data from the paleobiology database.pdb
A wrapper around pdb(), occ.cleanup() and mk.sptab() to automatically download and clean occurrence data from the paleobiology database and build species-level taxon-range tables for multiple taxa in one step.pdb.autodiv
Subtract one occurrence data.frame from another, for disentangling overlapping taxonomies or quantifying stem-lineage diversity.pdb.diff
Form the union of two occurrence data.frames or remove duplicates from occurrence data.frame. Useful if parts of a clade are not included in the downloaded dataset and need to be added separately.pdb.union
Plots a phylogenetic tree with spindle-diagrams, optimized for showing taxonomic diversity.phylo.spindles
Redraw the lines of a phylogenetic tree.redraw.phylo
Calculate a rolling mean for a vector x.rmean
Calculate a rolling mean based on distance within a second variable.rmeana
Extract subsets of an occurrence data.frame.stax.sel
Combine selected entries in a taxon-range table to remove duplicatessynonymize
tree_archosauriatree_archosauria
Combine two calibration matrixes and fill in NA values in one with values from anothertree.age.combine
Automatically build matrix for time-calibration of phylogenetic trees using occurrence data.tree.ages
Automatically build matrix for time-calibration of phylogenetic trees using occurrence data.tree.ages.spp
Add a horizontal, period-level phanerozoic timescale to any plot, especially calibrated phylogenies plotted with ape.ts.periods
Add a horizontal, stage-level phanerozoic timescale to any plot, especially calibrated phylogenies plotted with ape.ts.stages
Convert geological ages for accurate plotting alongside a calibrated phylogenytsconv
Generate a violin plotviol