--
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/fac34991-d2e7-4fe7-ae24-b3fa00a53e55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Aug 1, 2018, at 1:24 PM, Nick <nvin...@gmail.com> wrote:Many thanks for your response Mike. It sounds like I should subset my landmark data by specimen to make downstream analyses easier before I move forward. I got an error when trying the coords.subset function:coords <- readRDS("~/Desktop/landmarks.rds")
groups <- read.table("~/Desktop/groups.txt", h=TRUE, sep="\t", stringsAsFactors = TRUE)
new.coords <- coords.subset(A = coords, group = groups$species_id)Error in dimnames(specimens) <- `*vtmp*` : 'dimnames' must be a listI attached a data frame with the species_id (Factor w/ 296 levels) and specimen_id (Factor w/ 1154 levels) and also the 3-D array file with the coordinates in case I did something wrong.Nick
On Tuesday, July 31, 2018 at 10:47:48 AM UTC-7, Michael Collyer wrote:
Nick,If you have a factor of length 1154 with specimen information or operator number, you can use coords.subset to split your data into subsets and perform whatever analysis you like. For example, subsetting by specimen (make a list with 296 arrays) and applying a function to that list to measure, e.g., a coefficient of variation, would be one thing you could do.You can follow the example used in the help file for finding group means, just realizing that instead of mshape, you would have to develop your own function to measure “acceptable range”.Cheers!
Mike
On Jul 31, 2018, at 1:38 PM, Nick <nvin...@gmail.com> wrote:
Dear geomorph community,
I have landmark data stored as a 3-dimensional array in R, whereby rows = 79 landmark positions (first dimension), columns = XYZ coordinates (second dimension), and landmark configurations for each specimen ranging anywhere from 1 to 4 operators per specimen (third dimension). The dataset comprises 296 specimens. Each specimen represents a different species. Dimensions: 79 x 3 x 1154.
I would like to ensure that all operators placed landmarks per specimen within an acceptable range before taking the average to find the mean shape between users. An example or suggestions would be much appreciated as I've tried to do this in geomorph/R to no avail. Thanks!
Sincerely,
Nick--
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.
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/fac34991-d2e7-4fe7-ae24-b3fa00a53e55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/38004d78-1c3e-4f07-9328-a0e3467052c5%40googlegroups.com.
<landmarks.rds><groups.txt>
Thanks, that did the trick!Before I pass on the average shapes for geometric morphometric analysis, I would like to ensure that all operators placed landmarks within an acceptable range of another. Based on previous work using a similar data set, I want to measure “acceptable range” using Procrustes distance (excluding shapes with greater than a predefined Procrustes distance cutoff). Is there a function in geomorph that will allow me to do this? Advice on how to do that would be greatly appreciated.Many thanks,Nick
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.
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/22c1b5aa-9b44-41e9-9335-c5640aaddcd6%40googlegroups.com.
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.
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/960263cb-1877-4d9a-907f-20216b8d8802%40googlegroups.com.
Mike
Mike
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.
Visit this group at https://groups.google.com/group/geomorph-r-package.