Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

r2morphoj

Export data to MorphoJ and Morphologika


Description

Export data to MorphoJ and Morphologika

Usage

r2morphoj(x, file, id.string = NULL)

r2morphologika(x, file = file, labels = NULL, labelname = NULL, ...)

Arguments

x

3-dimensionla array containing landmark data. E.g. the input/output from procSym.

file

character: name the output file

id.string

a string with ids or factors to append

labels

character vector specify labels to create for Morphologika

labelname

character: name the labels for Morphologika.

...

unused at the moment

Details

Export data to MorphoJ and Morphologika

Examples

if (require(shapes)) {
r2morphoj(gorf.dat,file="gorf.dat")

data <- bindArr(gorf.dat, gorm.dat, along=3)
datalabels <- c(rep("female",dim(gorf.dat)[3]),
rep("male",dim(gorm.dat)[3]))
labelname <- "sex"
r2morphologika(data, labels=datalabels, labelname= labelname, file="data.dat")
## cleanup
unlink(c("gorf.dat","data.dat"))
}

Morpho

Calculations and Visualisations Related to Geometric Morphometrics

v2.8
GPL-2
Authors
Stefan Schlager [aut, cre, cph], Gregory Jefferis [ctb], Dryden Ian [cph]
Initial release
2020-02-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.