Morphometrics data essentially consist of coordinates and, if any, associated covariates.
Existing morphometrics, eg .tps
, .nts
, .xml
, etc. are not fully generic and/or explicitely defined/consistent, etc.
I propose here the .mod
(short for Modown
) file format along with R utilities.
Just like markdown, Modown
has minimalist syntax and is easy to read/manipulate/write both for humans and machines.
Modown name is derived from markdown, sounds a bit like Momocs and is a tribute to Motown.
.mod
files are plain text files whose single line syntax fall within one of the five following rules:
-0.5 0.5
; 0 0 0
LM
; out
size 3.14
sp H. sapiens
~iris150
#a comment
A single shape with one covariate:
name brahma type beer 37 561 40 540 40 529 [...]
Two shapes with more covariates/cofactors:
~0001-cAglan_O10VD var Aglan domes cult view VD ind O10 -0.5000 0.00000 -0.4967 0.01035 -0.4935 0.02414 [...] ~0001-cAglan_O10VL var Aglan domes cult view VL ind O10 -0.5000 0.00000 -0.4995 0.01018 -0.4957 0.02022 [...]
A single shape with landmarks and 2 partitions of semi-landmarks:
id 571 taxa T. mono ldk 697 977 766 991 704 1046 [...] sl1 541 962 542 965 543 967 [...] sl2 541 949 542 952 542 954 [...]
A shape with nothing else but coordinates:
200 91 187 95 173 105 [...]
Examples adapted from Momocs: bot[1]
, olea[1]
, charring[1]
, shapes[1]
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.