readland.tps "Not all specimens have scale" warning

277 views
Skip to first unread message

rmungui...@gmail.com

unread,
Dec 9, 2016, 2:45:30 PM12/9/16
to geomorph R package

Dear list:


When I import the tps file to R using readland.tps function the following message appears:

postder_comb0 <- readland.tps("postder_201516_orden.TPS", specID = "imageID")
[1] "Not all specimens have scale. Assuming landmarks have been previously scaled."
[1] "Specimen names extracted from line IMAGE="

I have checked all the specimens and all have a scale value. Please see image attached:


I am also attaching the tps file.

I am worried geomorph is not considering the differences in the scale between individuals when performing the procrustes analysis.
Could some one provide help/orientation about this issue?

Kind regards,

Roberto Munguía
postder_201516_orden.TPS
Auto Generated Inline Image 1

Adams, Dean [EEOBS]

unread,
Dec 9, 2016, 2:55:44 PM12/9/16
to rmungui...@gmail.com, geomorph R package

Roberta,

 

The reason is that one of your specimens does not have a scale specified. It is about ½ way down your file:

 

IMAGE=IMG_6543fan.tif

 

Dean

 

Dr. Dean C. Adams

Professor

Department of Ecology, Evolution, and Organismal Biology

       Department of Statistics

Iowa State University

www.public.iastate.edu/~dcadams/

phone: 515-294-3834

--
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/f063c2d9-8c95-42fb-9f17-ad884cc3e874%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rmungui...@gmail.com

unread,
Dec 9, 2016, 3:49:15 PM12/9/16
to geomorph R package, rmungui...@gmail.com
Thank you very much Dean, sorry for the

inconvenience.

.
Roberto

To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-package+unsub...@googlegroups.com.
To post to this group, send email to geomorph...@googlegroups.com.

Emma Sherratt

unread,
Jan 5, 2017, 8:31:28 PM1/5/17
to geomorph R package, rmungui...@gmail.com
Dear Roberta,

I have updated the readland.tps function on the geomorph github repository (see here for details of how to install the latest version from github, which is not yet on CRAN).

Now it should be more intuitive when you have these kind of issues with your TPS file.

e.g.

postder_comb0 <- readland.tps("postder_201516_orden.TPS", specID = "imageID")
Not all specimens have scale. File contains: 183 SCALE lines, 184 Specimens. Assuming landmarks have been previously scaled. 
Specimen names extracted from line 'IMAGE=' 

Emma

To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-package+unsub...@googlegroups.com.
To post to this group, send email to geomorph-r-package@googlegroups.com.

Anderson Feijo

unread,
Dec 29, 2017, 1:44:56 AM12/29/17
to geomorph R package
Hi everyone,

I am also having a small issue about the scale when try to read my tps file (attached here). I got the following message: "Not all specimens have scale. File contains: 32 SCALE lines, 16 Specimens. Assuming landmarks have been previously scaled." My tps file has 16 specimens, and all of them have scale value. I couldn´t figure out the reason of this "32 SCALE lines". Any ideas?

Thank you very much. 

Anderson

To post to this group, send email to geomorph...@googlegroups.com.

d_question.TPS

Mike Collyer

unread,
Dec 29, 2017, 9:16:56 AM12/29/17
to geomorph-...@googlegroups.com
Hi Anderson,

I have some good news and some better news.  First, the reason for this error.  Your image names have the word “scale” embedded within then.  That throws off the readland.tps function when it searches for the scale.  It is a programming glitch because we did not anticipate “scale” in other locations than the scale line.  I have added code to catch something like this and the update is now available on Github.  As a reminder, how to update geomorph from Github:

devtools::install_github(“geomorphR/geomorph”, ref = “Stable”)

That was the good news.  You can immediately update geomorph and you should have no issue now.  If your problem persists though, let us know.

We are also currently getting geomorph ready for an update to CRAN, which we expect to happen maybe in a few weeks (after we have some time to test our updates).  As it turns out, readland.tps is one of the functions we are updating.  The better news is that your TPS file did not trigger any issues with our new update.  

Thank you for the indirectly provided opportunity to test our updated function!  

Cheers!
Mike

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.

For more options, visit https://groups.google.com/d/optout.
<d_question.TPS>

Anderson Feijo

unread,
Jan 1, 2018, 7:12:12 PM1/1/18
to geomorph R package
Hi Mike,

Thank you very much for your quick reply and the constant effort in keep updating the geomorph.

Best,

Anderson
Mike

Hi everyone,

To unsubscribe from this group and stop receiving emails from it, send an email to geomorph-r-package+unsubscri...@googlegroups.com.


-- 
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-package+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages