To visualize the direction of asymmetry in R you will use the plotRefToTarget function of Geomorph. It will draw a line from one set of coordinates to another. The plot will have
mean_original_shape
mean_flipped_shape
morton1306slid
morton1306slid[ ,, 2] - original endocast
plotRefToTarget( mean_flipped_shape, mean_original_shape, method = "vector", mag = 15)
"vector " tells it to plot lines, though there are other options (see below)
I use mag = 15 so the lines are long enough to get a clear idea of the direction.
You can remove the box and axes:
plotRefToTarget( mean_flipped_shape[ 110:969],
mean_original_shape[ 110:969], method = "vector", mag = 15, box =
FALSE, axes = FALSE)
This is the information from the Geomorph user manual:
No comments:
Post a Comment