Package: dimoose 0.3.0

dimoose: Tools to Reshape and Manipulate Dichotomous Keys Used in Taxonomic Identification

Transforms between dichotomous identification keys and a variety of phenotype formats, including feature matrices, and generates interactive dichotomous key wizards. Imports keys from 'FishBase' <https://www.fishbase.se/keys/allkeys.php> and includes PhyloTree Build 17, the human mitochondrial DNA phylogeny (van Oven 2015, <doi:10.1016/j.fsigss.2015.09.155>), as distributed by 'Haplogrep' 3.

Authors:Jeremy Leipzig [aut, cre]

dimoose_0.3.0.tar.gz
dimoose_0.3.0.zip(r-4.7-any)dimoose_0.3.0.zip(r-4.6-any)dimoose_0.3.0.zip(r-4.5-any)
dimoose_0.3.0.tgz(r-4.6-any)dimoose_0.3.0.tgz(r-4.5-any)
dimoose_0.3.0.tar.gz(r-4.7-any)dimoose_0.3.0.tar.gz(r-4.6-any)
dimoose_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
dimoose/json (API)

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

Bug tracker:https://github.com/leipzig/dimoose/issues

Pkgdown/docs site:https://leipzig.github.io

Datasets:
  • arachnida - Key to the Orders of Arachnida
  • montana - Key to the native broadleaf trees of Montana
  • phylotree17 - PhyloTree Build 17: the human mitochondrial DNA phylogeny
  • phylotree17_mutations - PhyloTree Build 17 mutations, one per row
  • vibrio - Vibrio consensus identification matrix

On CRAN:

Conda:

biodiversitybotanydichotomous-keyidentification-keyphylogeneticsspecies-identificationtaxonomy

4.48 score 1 packages 86 exports 26 dependencies

Last updated from:55ddae6bd9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK263
source / vignettesOK253
linux-releaseOK202
macos-releaseOK170
macos-oldrelOK170
windows-develOK250
windows-releaseOK275
windows-oldrelOK247
wasm-releaseOK108

Exports:alignmentScoresarachnidaKeybenchmarkKeycheckNamesclassifyclaudeNamerdimoosediscoverSnigletsdiscoverTermsembedImagesembedTextsevaluateKeyexportBrowserModelexportOnnxModelexportWizardfeatureScoresfeatureTablegenerateTreehaplotypeMatrixidentifyPhotosimageMetaimageMimeimageSetimportFishbaseinatPhotosinventNameskeyDiagramkeyFromAlignmentkeyFromClusterskeyFromLeadskeyFromMatrixkeyFromRpartkeyFromSnigletskeyFromSpreadsheetkeyFromTermskeyFromTextkeyQualitykeyToSpreadsheetloadEmbeddingslooKeymacroHaplogroupmergeKeysmodelMetamontanaKeyoccurrenceWeightsonnxCacheonnxModelparseFishbaseparseTextKeypatchExemplarsphylotreeKeypruneKeyrawhtmlreadDELTAreadHaplogrepreadLucidreadLucidKeyreadSDDreadSDDKeyreadXperrecurrentPositionsregionalKeyrenameSnigletssaveEmbeddingsscoreImagessharkKeysnigletNamessnigletScoressplitByObservationsuggestSnigletNamessuggestSpeciestermScorestoAuspiceJSONtoIgraphtoNewicktoTreedatavibrioKeyvibrioMatrixvisionModelvocabularyPromptswriteDELTAwriteLucidwriteLucidKeywriteSDDwriteSDDKeywriteXper

Dependencies:askpassbase64encclicurldata.treegluehttrjsonlitelifecyclemagrittrmimeopensslpillarpkgconfigR6rlangrpartrvestselectrstringisystibbleutf8vctrswithrxml2

Automated key generation from photos
What you need | The short version | Setup | A smaller install: ONNX Runtime | Step 1: say which photo shows what | Step 2: load a vision model | Step 3: embed the photos | Step 4: build the key | Sniglets | Questions in words | Step 5: look at the key and share it | Step 6: rename the sniglets | How good is the key? | Identifying a new photo | Any model, no Python | Choosing a model: CLIP or BioCLIP

Last update: 2026-11-21
Started: 2026-10-01

From a published key to a field key
1. Read the text | 2. Check it | 3. Cut it down to a place | 4. How quickly does it reach a result? | 5. Take it into the field

Last update: 2026-11-21
Started: 2026-11-21

A photo key to Montana's broadleaf trees
Make your own key in three steps | The Montana key | A diagram of the key | An interactive key | Checking a photo against the key | Diagrams of other keys

Last update: 2026-10-19
Started: 2026-10-16

Automated key generation from a sequence alignment
What the command does | An example | Choosing the phylogeny program | Rooting | Numbering sites | When a fork has no clean difference | Identifying a sequence

Last update: 2026-10-06
Started: 2026-10-02

Readme and manuals

Help Manual

Help pageTopics
Score aligned sequences against a key built from an alignmentalignmentScores
Key to the Orders of Arachnidaarachnida
Benchmark identification on field photosbenchmarkKey
Check a key's species names against GBIFcheckNames
Follow a key by machineclassify
A sniglet namer that asks ClaudeclaudeNamer
A dichotomous keydimoose
Discover sniglets by clustering patch embeddingsdiscoverSniglets discoverTerms
Embed imagesembedImages
Embed textsembedTexts
Accuracy of a key followed by machineevaluateKey
Example keysarachnidaKey exampleKeys montanaKey sharkKey vibrioKey
Write what a web page needs to identify photos with a key's speciesexportBrowserModel
Convert an open_clip model to ONNXexportOnnxModel
Export an interactive dichotomous keyexportWizard
Compute a key's feature scores from embeddingsfeatureScores
A table of machine-computable featuresfeatureTable
Generate a tree from a feature matrixgenerateTree
Which mutations each haplogroup carrieshaplotypeMatrix
Name what a photo shows, as precisely as the evidence allowsidentifyPhotos
Embed images in a key's metadataimageMeta
MIME type of an image file from its first bytesimageMime
A set of labelled imagesimageSet
Import a dichotomous key from FishBaseimportFishbase
Download a balanced sample of iNaturalist photosinatPhotos
Invent pronounceable namesinventNames
Draw a key as a box diagramkeyDiagram
Build a key from a multiple sequence alignmentkeyFromAlignment
Build a key by clustering classes and describing each splitkeyFromClusters
Build a dimoose key from a table of leadskeyFromLeads
Build a dimoose key from a character matrixkeyFromMatrix
Build a dimoose key from a classification treekeyFromRpart
Build a key from sniglet scoreskeyFromSniglets keyFromTerms
Build a key from a spreadsheetkeyFromSpreadsheet
Read a key written as plain textkeyFromText
How quickly a key gets to a resultkeyQuality
Write a key as a spreadsheetkeyToSpreadsheet
Leave-one-out evaluation of a key builderlooKey
Macrohaplogroup of a haplogroupmacroHaplogroup
Graft one key onto a result of anothermergeKeys
Model details as metadata rowsmodelMeta
Key to the native broadleaf trees of Montanamontana
How common each taxon of a key is, from GBIF occurrence recordsoccurrenceWeights
Folder where dimoose keeps downloaded and converted ONNX modelsonnxCache
Load a vision model that runs on ONNX Runtime, without PyTorchonnxModel
Build a dimoose object from FishBase key pagesparseFishbase
Parse a key written as plain text into a table of leadsparseTextKey
Add example crops to a sniglet keypatchExemplars
PhyloTree Build 17: the human mitochondrial DNA phylogenyphylotree17
PhyloTree Build 17 mutations, one per rowphylotree17_mutations
Build an identification key from PhyloTree Build 17phylotreeKey
Prune a key to some of its taxapruneKey
Raw FishBase key tablesrawhtml
Read and write DELTA datasetsreadDELTA writeDELTA
Read a Haplogrep / PhyloTree tree XMLreadHaplogrep
Read and write Lucid matrix keysreadLucid writeLucid
Read and write Lucid pathway (dichotomous) keysreadLucidKey writeLucidKey
Read and write SDD (TDWG Structured Descriptive Data)readSDD writeSDD
Read and write a dichotomous key stored in SDDreadSDDKey writeSDDKey
Read and write Xper2 / Xper3 knowledge basesreadXper writeXper
Recurrent (homoplasic) mutation sitesrecurrentPositions
A key to the taxa recorded in a placeregionalKey
Rename snigletsrenameSniglets
Save embeddings to a file, and read them backloadEmbeddings saveEmbeddings
Score new images against a key's featuresscoreImages
Names of a key's snigletssnigletNames
Score images against snigletssnigletScores termScores
Split photos into training and test sets by observationsplitByObservation
Have a vision-language model suggest names for snigletssuggestSnigletNames
Suggest which of a key's species a photo showssuggestSpecies
Export a key as Auspice (Nextstrain) JSON v2toAuspiceJSON
Convert a key to an igraph directed graphtoIgraph
Write a key as Newick, with safe labels or node annotationstoNewick
Convert a key to a tidytree treedata (for ggtree)toTreedata
Vibrio consensus identification matrixvibrio
The vibrio dataset as a character matrixvibrioMatrix
Load a vision model for embedding imagesvisionModel
Prompts for a vocabulary of visual featuresvocabularyPrompts