-------- Original Message --------
Subject: Re: R-package for for shape analysis and mesh operations [under development]
Date: Sat, 21 Jan 2012 23:30:33 -0500
From: Karl Fetter <karl.fet...@gmail.com>
To: morphmet@morphometrics.org

I'm trying to use this new Morpho package to do a CVA of leaf data that I've superimposed (GPA) using tpsRelw.

I've downloaded the package and manually placed it in my library, so I can see the package in Rstudio, but when I try to install it, I get this message:

Installing package(s) into ‘/Library/Frameworks/R.framework/Versions/2.14/Resources/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
  package ‘Morpho’ is not available (for R version 2.14.1)

And when I use library("Morpho") , it obviously doesn't load the package and I get this message:

Error: package ‘Morpho’ is not installed for 'arch=x86_64'

Can someone give me some advice to get the package installed correctly?

Thanks in advance,

Karl Fetter
UNC-CH


On Jan 20, 2012, at 4:26 PM, morphmet wrote:



-------- Original Message --------
Subject: Re: R-package for for shape analysis and mesh operations [under 
development]
Date: Fri, 20 Jan 2012 15:24:55 -0500
From: Dean Adams <dcad...@iastate.edu>
To: morphmet@morphometrics.org <morphmet@morphometrics.org>

Anna,

There are many options to easing into R.  One I recommend is:

"An Introduction to R" by the R Development Core Team.  You can find a
PDF of this book on the CRAN web site:
http://cran.r-project.org/doc/manuals/R-intro.pdf.  Of course, there are
MANY other books for learning R, but this is a good place to start.

Also, Julien Claude's book "Morphometrics with R" has a chapter that
introduces some elementary R-concepts, as well as routines for
implementing many basic morphometric approaches.

Dean

--
Dr. Dean C. Adams
Associate Professor
Department of Ecology, Evolution, and Organismal Biology
Department of Statistics
Iowa State University
Ames, Iowa
50011
www.public.iastate.edu/~dcadams/
phone: 515-294-3834


On 1/20/2012 1:01 PM, morphmet wrote:

-------- Original Message --------
Subject: Re: R-package for for shape analysis and mesh operations [under
  development]
Date: Fri, 20 Jan 2012 11:25:46 -0500
From: Anna Maria Vettraino<vettr...@unitus.it>
To:<morphmet@morphometrics.org>

Dear all,
I would take advantage from the discussion…I tried to use R and I felt
really stupid…do you know a quick guide to learn how use it?
Thank you in advance

regards
AM

Il giorno 20/01/12 17:13, "morphmet"
<morphmet_modera...@morphometrics.org>  ha scritto:


-------- Original Message --------
Subject: Re: R-package for for shape analysis and mesh operations [under
     development]
Date: Fri, 20 Jan 2012 10:38:07 -0500
From: ppi...@uniroma3.it
To: morphmet@morphometrics.org
CC: morphmet<morphmet@morphometrics.org>


Dear Stefan
That seems great! There is any help documentation with
sample files and sample scripts? It would facilitate
the use of Morpho package...
Thanks in advance
Paolo

-------- Original Message --------
Subject:        R-package for for shape analysis and mesh
operations [under
development]
Date:   Fri, 20 Jan 2012 04:33:23 -0500
From:   Stefan Schlager
<stefan.schla...@uniklinik-freiburg.de>
To:     morphmet@morphometrics.org



Dear all,

as it seems that more and more people are using R and
also are working
with triangular meshes, I also take the opportunity to
share some
scripts with you:
I am developing an R package (which are basically
functions coded for my
dissertation) called Morpho which allows a lot of mesh
operations.
Including:

   * importing all kinds of mesh formats  (e.g.
obj,ply,stl,...)
     (file2mesh) and
   * exporting objects of class "mesh3d" to ascii-ply
format (mesh2ply)
   * operations like TPS deformation, and affine
transformations based on
     landmark informations (warp.mesh, rotmesh.onto,
scalemesh),
     including the updating of faces’ normals.
   * the imported objects are of class "mesh3d" so
that they can be
     rendered by the functions shade3d and wire3d from
the rgl-package
   * a function (called slider3d) allowing sliding of
points, surfaces
     and curves (using the bending energy criterion)
and projecting the
     slidden points back onto the 3D-mesh.
   * There is also a function for semi-automatic
placement of surface
     patches (place.patch - yet undocumented) onto a
whole sample based
     on a initially defined atlas configuration.
   * I’ve included functions for im- and exporting
landmark-data from
     landmark-IDAV (read.pts,write.pts,read.lmdta) and
extracting the
     information, if the coordinate belongs to a curve
or surface from
     imported pts files (c.extract), as I used this
program to place the
     curves and the atlas surface.
   * There is also a GPA algorithm optimised for speed
(procSym), useful
     for big sample sizes and many (semi-)landmarks,
that also allows
     analysis of symmetry/asymmetry.
   * CVA (thanks to M. Rufino from this mailing list
for providing nice
     examples in the documentation)
   * some permutation tests
   * graphical interface to find outliers (similar to
MorphoJ)


And here comes the bad part: I’m a bit behind with
the documentation, so
a lot code remains unexplained :(

If you're interested, you can download precompiled
packages or the
source code from
https://sourceforge.net/projects/morpho-rpackage/files/

It is optimised for Linux but also works on OSX and
Windows (with some
restrictions)!!!

For the full functionality you must also download some
command line
tools which I coded using the header files of the
meshlab/vcglib project
(http://meshlab.sourceforge.net/ ,
http://vcg.sourceforge.net/index.php/Main_Page) and
install them (add
them to your system’s path). I recently managed to
compile those not
only for Linux but also for OSX and Windows.

Read the README!!

It’s all licensed under GPL, so you also can rip it
apart and improve or
adapt it, if necessary.

Best regards
Stefan

Stefan Schlager M.A.
Anthropologie
Medizinische Fakultät der der Albert Ludwigs-
Universität Freiburg
Hebelstr. 29
79104 Freiburg

Anthropology
Faculty of Medicine, Albert-Ludwigs-University
Freiburg
Hebelstr. 29
D- 79104 Freiburg

phone +49 (0)761 203-5522
fax +49 (0)761 203-6898







--
Paolo Piras
Center for Evolutionary Ecology
             and
Dipartimento di Scienze Geologiche, Università Roma Tre
Largo San Leonardo Murialdo, 1, 00146 Roma
Tel: +390657338000
email: ppi...@uniroma3.it










Reply via email to