creating mirror reflection of one-side landmarks

173 views
Skip to first unread message

Christy Hipsley

unread,
Aug 24, 2018, 12:17:06 AM8/24/18
to geomorph R package
Dear Geomorphers,

I'm working with a 2D landmark data set of vertebrae in anterior view in which one side (right) has been landmarked, with 5 landmarks along the midplane axis for a total of 12 landmarks. 

I would like to generate a mirror reflection of the paired landmarks, and wonder if there is an easy way to do this in geomorph or another program. I naively tried multiplying the x coordinate dimensions *-1 and keeping y the same, but since the midplane x coordinates are not at 0 this obviously doesn't work.

Any advice or code would be greatly appreciated!

Thanks,
Christy

Antigoni Kaliontzopoulou

unread,
Aug 24, 2018, 2:55:52 AM8/24/18
to geomorph-...@googlegroups.com

Hi Christy,

I do not know that there is any standard routine to do that, but it should be fairly easy to write one in R. I guess one would need to find the actual reflection plane through e.g. an RMA regression of the points of the midline, set that as x = 0 and then mirror the coordinates as you were doing.

Hope this helps

Antigoni

--
You received this message because you are subscribed to the Google Groups "geomorph R package" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-pack...@googlegroups.com.
To post to this group, send email to geomorph-...@googlegroups.com.
Visit this group at https://groups.google.com/group/geomorph-r-package.
To view this discussion on the web, visit https://groups.google.com/d/msgid/geomorph-r-package/d6ebe2bb-5c5f-4a32-a1a1-92e1b6fc4a6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
Antigoni Kaliontzopoulou 

Assistant Researcher
CIBIO/InBIO, Centro de Investigação em Biodiversidade e Recursos Genéticos
University of Porto
Campus Agrário de Vairão, 4485-661 Vairão
PORTUGAL

https://cibio.up.pt/research-groups-1/details/phenevol
http://cibio.up.pt/people/details/akaliont
http://antigonik.wix.com/akaliontzopoulou
http://www.seh-herpetology.org/

Javier Santos

unread,
Aug 29, 2018, 5:33:10 AM8/29/18
to geomorph-...@googlegroups.com

Hello Christy,


In Claude's book [Claude - Morphometrics With R - 2008] you can find some script on which to base yourself upon to make the mirror reflection.

You should be able to find the .pdf online.



Best wishes,

Javier Santos-Santos




From: geomorph-...@googlegroups.com <geomorph-...@googlegroups.com> on behalf of Antigoni Kaliontzopoulou <anti...@cibio.up.pt>
Sent: Friday, August 24, 2018 8:55:46 AM
To: geomorph-...@googlegroups.com
Subject: Re: [geomorph-r-package] creating mirror reflection of one-side landmarks
 
Reply all
Reply to author
Forward
0 new messages