Useful to convert .nts files into Coo objects. For .nts provided as rows, use ntsrow2Coo; for .nts provided as columns of coordinates, try ntscol2Coo. It returns a list of matrices of coordinates that can be passed to Coo (Out, Opn or Ldk).
ntsrow2Coo(nts.path, sep = "\t")
the path to the .nts file
the separator between data
I'm not very familiar to other morphometric formats. So if you have troubles importing your datasets, contact me, I can help. Or if you fix something, please let met know!
1 2 3 4 5 6
# That's how wings dataset was created # made a local copy from http://life.bio.sunysb.edu/morph/data/RohlfSlice1990Mosq.nts # then : # coo_list <- ntscol2Coo('~/Desktop/mosquitowings.nts) # fac <- data.frame(fac=factor(substr(names(coo_list), 1, 2))) # wings <- Ldk(coo_list, fac=fac)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.