Friday, March 29, 2013

Peters' dinosaur phylogeny fails finale part 2 - The test

The last post covered many of the problems with Peters' amniote analysis- codings based on sculpted or nonexistent material, codings based on reconstructions, an unfamiliarity with the literature, coding small and easily lost elements as truly absent, using too few characters which mostly involve general proportions and shapes, mis-applying characters, making new states so that homology is hidden, using interphalangeal lines for characters, and basically having a third of all scores miscoded.  This in addition to issues I've covered before like not ordering character states, having correlated characters, having poorly formed characters that combine different kinds of changes, and leaving out characters that support certain clades.  But as I said before, Peters doesn't find these kinds of critiques to be especially harmful to his conclusions.  Requoting him-

He says "You missed the point, Mickey. What I am asking you to do is adjust my tree topology to suit your hypothesis. Then we can compare your changes to the large reptile tree. I’ll put up your figures and compare them with mine. Then we’ll look at synapomorphies. The list of characters is infinite for any taxon, as you can get down to individual chemistry and DNA if you like. So, merely listing a few to a dozen characters is not a solution. Rearrange the tree topology like you want to, then we’ll talk."  And "You have your assignment: Nest Daemonosaurus with theropods while including Heterodontosaurus and Massospondylus. That’s a half-dozen to a dozen taxa at most to deal with. Then we’ll compare answers."

So that's what we're doing today.  Taking the dinosaur portion of his tree, adjusting the codings to be correct and the character states to be well-formed, less correlated, ordered when appropriate, and seeing the results.  Then looking at what synapomorphies support clades in Peters' tree.

For those of you who don't want to wade through the minutia below, here's the short answer.  Peters'dinosaurian topology is completely due to miscodings and lack of characters/taxa.  When coded right, poposaurs fall outside Dinosauria, and Trialestes and SMNS go next to Terrestrisuchus once it's added, but we get new odd things like poposaurian Daemonosaurus, and theropodan Pseudolagosuchus, Silesaurus and Saturnalia.  As we add taxa one at a time, the phylogeny changes constantly so that sauropodomorphs are variously paraphyletic to theropods and/or ornithischians in different configurations, Saurischia is para- or monophyletic, silesaurs are polyphyletic in different ways, etc..  Simply put, there aren't enough characters to to stabilize topology, and it's only stable in Peters' matrix because he miscodes a ton.  If we add the saurischian and dinosaurian characters I noted long ago on this blog, the topology is fairly standard, and if we add the character evidence for Daemonosaurus being a theropod, it becomes a theropod.  I have no reason to believe the rest of his matrix isn't miscoded to a similar extent in similar ways, and that even if it were corrected, would lack the characters and taxa needed to be useful.

Methods

This evaluation uses Peters' amniote matrix from January 22, 2013.  He has since updated it (I assume in part due to my comments on his site about miscodings in some of his 'theropod' OTUs), but the only difference is that Trialestes is now sister to Dinosauria instead of the most basal theropod.  His matrix includes 228 characters, and this evaluation uses all of the taxa Peters recovers as avemetatarsalians (closer to birds than crocs).  For outgroups, I chose Gracilisuchus and TurfanosuchusGracilisuchus is one of the most basal pseudosuchians (closer to crocs than birds) in Peters' tree, while Turfanosuchus is sister to Pseudosuchia+Avemetatarsalia.  Both are also well described and known from articulated skulls.  Note this is favoring Peters, as better outgroups in traditional phylogenies like Nesbitt's (2011) would be lagerpetids, pterosaurs and ornithosuchids.  But Peters finds those taxa to be more distantly related, so they are ignored here.  Similarly, Peters recovers Saltopus and Scleromochlus as pseudosuchians, so they are ignored.  Another important point is that he finds Lewisuchus to be outside Archosauria, so it is ignored here though traditionally it is considered close to and probably synonymous with the included taxon Pseudolagosuchus.  If we run this reduced analysis of Avemetatarsalia plus two outgroups, we get the same result as running the entire analysis of 328 taxa, so we know any changes in topology aren't due to only analyzing this area of the tree.

Running Peters' data results in one MPT of 354 steps.  90 characters don't vary in included taxa, and 18 variable characters can't affect the topology, so the number of useful characters is 120.  It has a consistency index of .52, so on average each character reverses or converges once.

So let's start fixing it.  Besides the Pseudolagosuchus note above, a few clarifications are necessary.
- For Turfanosuchus, only the type species was coded.  The more fragmentary T. shageduensis is no longer thought to be congeneric.  I lack the original description of Turfanosuchus, so this is the single instance where my codings do not reflect the total published knowledge of a taxon, but Peters lacks it too, so this shouldn't matter for our test.  Nesbitt says it's not great anyway, and as it's in Chinese only the figures would be useful to me if I had it.
- For Gracilisuchus, I included all specimens generally attributed to it (the holotype PULR 08, MCZ 4116, MCZ 4117, MCZ 4118, PVL 4597 which is the Tucumen specimen, and PVL 4612).  Romer (1972) used all of these when describing and illustrating the taxon, Brinkman (1981) reinterpreted the skull based on MCZ 4116 and 4118, and Lecuona and Desojo (2012) described the pelvis and hindlimb of PVL 4597 in depth.  Peters did not realize Romer used these latter three specimens too, and coded PVL 4597's pelvis and hindlimb and most recently MCZ 4116+4118's skulls and cervicals as separate OTUs from Romer's composite description/drawings. 
- For Trialestes, I only included the holotype, as Ezcurra et al. (2008) found the referred specimens to be a mix of dinosaur and indeterminate suchian bones (PVL 2559) and an indeterminate crocodylomorph (PVL 3889).  This is important because Peters' codings are almost entirely the crocodylomorph holotype skull and the dinosaurian and possibly herrerasaurid pes of PVL 2559.  So it's not surprising it falls out between crocodylomorphs and dinosaurs in his tree, since it's a composite.
- SMNS 12352 includes both a skull and a manus (these are the specimens originally referred to Procompsognathus that Sereno and Wild referred to Saltoposuchus in 1992), though Peters ignores the latter.
- Coelophysis is only coded based on C. bauri, which I think is what Peters did too.
- Massospondylus k is M. kaalae, shortened due to PAUP's display.  This species is based on a partial skull.
- On Peters' Thecodontosaurus page, he illustrates both the type species T. antiquus and what was originally named T. caducus, which is now known as Pantydraco caducusT. antiquus is based on a large number of generally disarticulated and unassociated bones, with a dentary as the holotype.  Most recently, Galton (2007) redescribed them and found them to belong to at least three different taxa based on humeral morphologies.  He named Asylosaurus based on the one articulated partial skeleton there, retained Thecodontosaurus for the dentaries and one kind of humerus, and kept most of the material unassigned.  The codings for Thecodontosaurus in Yates' matrices are apparently based mostly on a bonebed that remains undescribed, though he and Benton are working on it.  Given this mess, I've coded "Thecodontosaurus" based solely on Pantydraco and refer to it with the latter name.  It includes the only described skull and pes, and Peters' clearly used it when coding his OTU.  Later I add the chimaerical "Thecodontosaurus antiquus" as a separate OTU as a test.
- I included Stormbergia in the Lesothosaurus OTU, as I agree with Knoll et al. (2009) that their differences are ontogenetic.

Many of Peters' characters are composites, in that they code for multiple variables.  "Serrations large and tooth roots constricted" as a state, for example.  These had to be split into multiple characters to remain valid, which led to ten "new" characters being made.  This brings the total number to 238.  It would need to be much higher if the inappropriate states describing the anatomy of non-dinosaurs were examined as well.
Characters that have states which follow an objective sequence (e.g. "2 sacrals" "4 sacrals" "3 sacrals", or "humerus longer than femur" "humerus subequal to femur" "humerus shorter than femur") were set to be ordered in PAUP.  Thus, the program knows that e.g. a short humerus is more similar to a subequal humerus than it is to a long humerus.  It's implicit in many of Peters' states such as "more than 4 premaxillary teeth", since under unordered assumptions, 5 teeth is just as similar to 2 teeth as it to 6 teeth.  Ordering characters sometimes meant I had to rearrange the states, so state 2 in my matrix will not always be the same as state 2 in Peters' matrix.
Many of Peters' characters are correlated with each other.  Often this is due to one character coding for the presence/absence of a feature, then another character coding for attributes of that feature and also including a state coding for its presence/absence.  This weights the presence/absence compared to other characters, and is easily solved by making taxa without the feature coded inapplicable for characters about that feature.  Unfortunately, several correlated characters were retained, as altering them would lead to effectively using different characters than Peters, so it would be less fair of a test.  For example, there's a character comparing each cranial fenestra size to orbit size.  So if two taxa are exactly the same except one has larger orbits, they could be coded differently for "orbit compared to naris", "orbit compared to aof", "orbit compared to stf", "orbit compared to itf", and probably "orbit enters anterior half of skull" too.  Similarly, there are several characters coding for the length of metatarsal V, separate characters for which digit is longest and which digit+metapodial is longest, and other such things.  By not changing these, I'm giving Peters another advantage.

Results-

When those changes are made, we get one MPT of 458 steps.  95 characters don't vary in included taxa, and 31 variable characters can't affect the topology, so the number of useful characters is 122.  It has a consistency index of .39, so has more homoplasy than Peters' codings.  Differences include Daemonosaurus being a poposaur, poposaurs being outside Dinosauria, Silesaurus, Pseudolagosuchus and Saturnalia being theropods, Pantydraco being by Panphagia and Pampadromaeus, and Pisanosaurus being an ornithischian.  But like Peters' original tree, Marasuchus, Trialestes and SMNS 12352 are still theropods, and Phytodinosauria still exists with some sauropodomorphs basal in it.


Let's try substituting the probably chimaerical Thecodontosaurus (including Thecodontosaurus, Asylosaurus at at least one other sauropodomorph as well) for Pantydraco.  We get 95 MPTs of 453 steps.  Thecodontosaurus clades with Massospondylus (due to massopod elements?), Herrerasaurus with Saturnalia, and there's much less resolution overall. 

Adding taxa

As Thecodontosaurus is problematic, let's switch back to Pantydraco for the rest of the tests.  Since Trialestes and SMNS 12352 are generally thought to be basal crocodylomorphs, let's add well known crocodylomorph Terrestrisuchus.  It's thought by some to be a juvenile Saltoposuchus (which is poorly described), which is in turn thought by Sereno and Wild to be what SMNS 12352 belongs to.  That gives us 180 MPTs of 490 steps.

Well, that changed things considerably.  Trialestes and SMNS 12352 are now outside Dinosauria, Poposaurus and Silesaurus are successive sisters to Dinosauria, the Pan+Pan+Pam clade is within Theropoda, and lots of resolution has been lost.  Let's add Arizonasaurus as a basal poposaur.

And now Poposaurus and Daemonosaurus are back to Poposauridae, and all the crocodylomorphs are near the base.  What if we add the basal silesaurid Asilisaurus, since Pseudolagosuchus and Silesaurus are still separated.
Far less resolution (seemingly due to Daemonosaurus falling out in multiple possible positions), though Asilisaurus falls out with Pseudolagosuchus and Marasuchus.  So let's try adding another silesaurid- Sacisaurus.
Now Daemonosaurus moves to Theropoda, though most structure in non-theropod Dinosauria is lacking.  So let's try adding a complete sauropodomorph, since the four Peters uses are only partially known.  We add Plateosaurus to find...
Daemonosaurus goes back to Poposauridae, and we get sauropodomorphs (and Sacisaurus) as a grade leading to Ornithischia.  Why not add Massospondylus carinatus, to see if that affects M. kaalae's placement near/in Ornithischia.
Indeed, the Massospondylus species group together, and are sister to Plateosaurus.  But the clade's still closer to ornithischians, so let's try to add an intermediate sauropodomorph.  Efraasia usually lies between Plateosauria and Pantydraco in Yates' trees.
Well, it grouped with Pantydraco.  How about we add Guaibasaurus, as a largely complete (except for the head and neck) basal sauropodomorph.
That helped resolution quite a bit.  Silesaurus is back to being a theropod, so at least is closer to other silesaurids.  We still have sauropodomorphs forming a pre-ornithischian grade, except Saturnalia which is a basal theropod.  How about adding Eoraptor, variously claimed to be a theropod, sauropodomorph, or basal to both.  The result had a polytomy at the base of Poposauridae+Dinosauria, due to Daemonosaurus being able to go in several positions.  When we exclude it from the tree (but not the analysis), we get-
The blue area shows where Daemonosaurus can go.  Note Eoraptor is resolved as the basalmost theropod.  Maybe adding Eodromaeus will help things, since it's another basal theropod.
Here another polytomy results, mostly due to Trialestes (which can go in the blue spaces above) and Pisanosaurus (which can go in the pink spaces).  Daemonosaurus is restricted again to outside Dinosauria, but note things have changed in that basal sauropodomorphs are a grade leading to theropods again, while Silesaurus and Sacisaurus are now just outside Dinosauria.  Saturnalia's still odd being so deep within Theropoda, so let's add the fragmentary saturnaliine Chromogisaurus.
Oddly, this stabilizes the whole tree and changes the topology so that Saurischia and Sauropodomorpha exist.  Panphagia is now sister to Dinosauria, while Sacisaurus is a basal ornithischian.  Both Saturnalia and Chromogisaurus are theropods though.  What about adding the other named herrerasaurids, Staurikosaurus and Sanjuansaurus, to see if that affects Herrerasaurus' position.
This brings things back to generally how they were before Chromogisaurus was added.  Let's add three more basal ornithischians- Emausaurus to potentially connect Scutellosaurus and Scelidosaurus, Tianyulong as a basal heterodontosaurid, and Eocursor.
This is the tree with Chromogisaurus deleted a posteriori, with the pink area showing where it can go.  Here Trialestes is a theropod, though the other crocodylomorphs group together, and Poposaurus is with other poposaurs again.  Most of the tree matches the last one, but note Ornithischia is completely rearranged compared to previous trees with the addition of these three taxa.  Scelidosaurus is still most basal, and Agilisaurus is with Hexinlusaurus, but besides that things are different.  As a final test for Peters' characters, let's add a few fragmentary but potentially important taxa to see if they affect topology- silesaurids Eucoelophysis and Diodorus, and controversial saurischian Chindesaurus
With all taxa added, there are 54703 MPTs of length 636 (up from 458) with 139 informative characters (up from 122).  Trialestes is back down by crocodylomorphs, but there's a big polytomy in Dinosauria.  Deleting Eucoelophysis, Diodorus, Chindesaurus and Chromogisaurus a posteriori from the MPTs gives us a more resolved tree.
Notable here is that Saurischia occurs again, with the exception of Efraasia being by ornithischians and Panphagia being sister to dinosaurs.  Also, ornithischian topology is rearranged again, this time with all thyreophorans the basal grade. 

Adding characters

Before we finish this, recall one of my posts criticized Peters analysis for leaving out 16 unambiguous synapomorphies of Saurischia and 11 such synapomorphies of Dinosauria (from Nesbitt, 2011).  We've already seen that depending on the taxa you include, Peters' characters already can support a Saurischia containing all to most sauropodomorphs, but let's see what happens when we add those 16 saurischian synapomorphies.  For those curious, I checked Nesbitt's accuracy too and found only 8% of the entries were miscoded, which is a fourth of Peters' total.
Again, Eucoelophysis, Diodorus, Chindesaurus and Chromogisaurus were deleted a posteriori from the MPTs to give better resolution.  Note the saurischian characters got Panphagia and Efraasia back in the clade, and even made Sauropodomorpha monophyletic (potentially, as Saturnalia is still in a polytomy).  Crocodylomorphs are monophyletic too, though Daemonosaurus is still very basally placed.  There were also the 11 unambiguous dinosaurian characters of Nesbitt I commented on.  Adding those leads to-
Only Eucoelophysis and Daemonosaurus had to be deleted a posteriori from trees to give good resolution here.  Eucoelophysis can go anywhere in the pink area, which covers silesaurids so makes sense.  Daemonosaurus can go anywhere in the blue area, which includes Peters' preferred position (basal ornithischian), the position of its describers (basal theropod), and the position Peters' characters seem to be suggesting (basal near poposaurs).  Since Daemonosaurus is a sticking point with Peters (recall his assignment was "Nest Daemonosaurus with theropods while including Heterodontosaurus and Massospondylus"), let's test Sues et al.'s hypothesis.  We'll add all of the characters (18 total) Daemonosaurus was scored for in their analysis that are also synapomorphies of nodes which include it (namely Avemetatarsalia/Dinosauriformes, Silesauridae+Dinosauria, Saurischia, Theropoda, and two theropod subclades).  These are all cranial and cervical of course, as those are the only areas preserved in the genus.  Other taxa were scored when possible, with codings corrected when necessary, and we get the following tree (when Diodorus is excluded a posteriori).
So there you go, Daemonosaurus is a theropod, and everything else is generally traditional too.  Trialestes and SMNS 12352 are down by Terrestrisuchus, poposaurs aren't dinosaurian, Marasuchus and silesaurids form sister taxa to Dinosauria (except for possibly Sacisaurus), Saurischia exists.  There are some oddities, like Pampadromaeus and Saturnalia being theropods, silesaurids not being monophyletic, and ornithischian phylogeny being wrong, but just like the Daemonosaurus situation, these would probably be solved by adding the suggested sauropodomorph, silesaurid, genasaur, thyreophoran, cerapod, etc. characters to the mix (they only take 3, 6 and 3 more steps each respectively, so are only slightly-weakly rejected).  Just as I've told Peters innumerable times, (when coded correctly) phylogeny does not stabilize at a couple hundred characters.  Look at how much the last 18, 11 and 16 characters affected the entire topology each time, despite only being designed for one purpose each.

Comparing support for clades

Assignment completed, David.  Let's compare answers.  We'll compare the number of extra steps needed to find various groups in Peters' unaltered matrix, Peters' characters fixed and corrected by me using only the taxa he did, the fixed/corrected characters plus the 45 I added with all taxa added, and in Nesbitt's (2011; reduced to have only the taxa examined here that are shared) matrix.  Note all of the constraint trees only involve taxa Peters' included, so e.g. the Dinosauria constraint doesn't force Sacisaurus out of the clade, though it does force Silesaurus out.

First, we'll enforce Avemetatarsalia/Dinosauromorpha, to the exclusion of traditional pseudosuchians.
Peters original- 30
Peters fixed- 2
Peters with new added- 0
Nesbitt- 0
Result- Peters didn't recover this clade based almost entirely on miscodings.

Next, enforcing Silesauridae+Dinosauria.
Peters original- 41
Peters fixed- 10
Peters with new added- 4
Nesbitt- 0
Result- Peters didn't recover this clade mostly due to miscodings, but also due to lacking certain characters and taxa. 

Next, Dinosauria itself.
Peters original- 30
Peters fixed- 8
Peters with new added- 0
Nesbitt- 0
Result- Peters not finding traditional Dinosauria is due mostly to miscodings, but partially due to missing character and taxon data.

Peters' Phytodinosauria including Daemonosaurus, silesaurids and poposaurs.
Peters original- 0
Peters fixed- 12
Peters with new added- 34
Nesbitt- 76 (not Daemonosaurus)
Result- Peters' support is entirely due to miscodings, as fixing these makes the clade rather improbable.  Adding characters and taxa makes this is extremely unlikely to be a real clade.  And lest Peters claims for the nth time it's our emphasis on the crurotarsal ankle that blinds us to placing poposaurs in Dinosauria, even when proximal tarsal characters are excluded, this still takes 59 more steps in Nesbitt's analysis. 

Saurischia.
Peters original-34
Peters fixed- 15
Peters with new added- 0
Nesbitt- 0
Result- Peters doesn't recover this due to half miscoding and half lack of included data.

Peters' Theropoda with Marasuchus and SMNS 12352.
Peters original- 0
Peters fixed- 2
Peters with new added- 19
Nesbitt- 34 (only Marasuchus)
Result- Peters recovered these as theropods due to miscodings, though adding taxa and characters makes them highly unlikely to be correct.

Peters' derived phytodinosaurs excluding Panphagia and Pampadromaeus.
Peters original- 0
Peters fixed- 16
Peters with new added- 35
*Cabreira et al.- 31
Cabreira et al.'s (2011) sauropodomorph analysis was used, as Nesbitt did not include Panphagia or Pampadromaeus.  All taxa were retained, as none are outside the scope of this analysis except the outgroup Euparkeria.
Result- Peters recovered this completely due to miscoding.  At 31-35 steps once other taxa and characters are added, it's highly unlikely to be correct.

'Paraornithischia' consisting of silesaurs, poposaurs and Pisanosaurus.
Peters original- 0
Peters fixed- 13
Peters with new added- 26
Nesbitt- 50
Result-  Again recovered entirely due to miscodings, this becomes rather unlikely once recoded and extremely unlikely with added taxa and characters.

Daemonosaurus sister to Ornithischia sensu lato (Pisanosaurus ignored).
Peters original- 0
Peters fixed- 9
Peters with new added- 10
*Sues et al.- 7
Sues et al.'s (2011) analysis was used, as Nesbitt's does not include Daemonosaurus.  Taxa outside the scope of this critique were deleted.
Result- Another grouping based entirely on miscodings, though in this case added taxa and characters don't affect its liklihood much.  It's always moderately rejected.

Daemonosaurus in derived Theropoda (by Tawa and Coelophysis).
Peters original-18
Peters fixed- 5
Peters with new added- 0
*Sues et al.- 0
Result- Peters' analysis rejected this mostly due to miscodings, but once correct it's only weakly rejected.  Adding taxa and characters makes it most parsimonious.

Sauropodomorpha+Ornithischia.
Peters original-14
Peters fixed- 2
Peters with new added- 8
Nesbitt- 13
Result- While Peters does not actually recover a traditional Phytodinosauria due to having Pisanosaurus, Pampadromaeus and Panphagia in the clade only if silesaurids and poposaurs are, the reduced version seems quite possible once his codings are fixed.  Yet once more taxa and characters are added it becomes unlikely.  In case you're wondering, making silesaurids phytodinosaurs is 28 steps less likely in both Nesbitt's matrix and the version of Peters with taxa and characters added.

Derived Sauropodomorpha+Ornithischia (Pisanosaurus ignored).
Peters original- 0
Peters fixed- 5
Peters with new added- 11
*Cabreira et al.- 25
Result- Peters has Saturnalia, Pantydraco/Thecodontosaurus and Massospondylus kaalae closer to ornithischians than Panphagia and Pampadromaeus.  This is due to miscodings, though it still seems possible once these are corrected.  More taxa and saurischian characters help make this unlikely, but what really kills it are the sauropodomorph charcters and intermediate taxa present in a large analysis like Cabreira et al.'s.

Sauropodomorpha.
Peters original-13
Peters fixed- 12
Peters with new added- 3
Nesbitt- 0
Result- Somewhat uniquely, Peters' characters and taxa really do reject Sauropodomorpha sensu lato (containing Panphagia and Pampadromaeus), even after correction.  Though in the corrected version this is due to Saturnalia and Pampadromaeus being theropods, and Panphagia being outside Eusaurischia in the corrected version.  Adding more taxa and characters makes Sauropodomorpha sensu lato only slightly unlikely, though Nesbitt's character selection makes it most parsimonious.   Though Peters' alternative to monophyly was rejected soundly above (25 more steps in Cabreira et al.'s matrix), you might wonder about "my" alternative.  This is also soundly rejected in Cabreira et al.'s matrix, taking 24 more steps.

Peters' arrangement of Ornithischia (Pis(Scel((Het+Hex)(Agi(Scut+Les))))).
Peters original- 0
Peters fixed- 8
Peters with new added- 14
*Butler- 12
The updated version of Butler et al.'s (2007) ornithischian analysis (from Coria et al., 2013) was used.  All taxa were retained, as none are outside the scope of this analysis except the outgroup Euparkeria.
Result- Peters' odd ornithischian topology with Scelidosaurus basal is due to miscodings.   Adding more data only increases its unliklihood, to a level similar to that in the most exhaustive published ornithischian analysis.

Butler's arrangement of Ornithischia (Pis(Het(Les(Agi+Hex)(Scut+Scel)))))
Peters original-18
Peters fixed- 9
Peters with new added- 3
*Butler- 0
Result-The current standard topology of Ornithischia is strongly rejected by Peters' original matrix, but still somewhat rejected after coding it correctly.  Adding more taxa makes it only weakly rejected, and adding the many ornithischians and applicable characters from Butler's analysis supports it.

Character support

Peters requested we look at synapomorphies, so let's check what characters support heterodox nodes in his unaltered analysis. Of course based on the above, we know these nodes are due almost entirely to miscodings, but just to make sure the thrashing is total and unambiguous, we'll go in for a closer look...

To be continued...

Saturday, March 16, 2013

Peters' dinosaur phylogeny fails finale part 1 - The Problems

As we've discussed a few times before here, Peters finds an odd topology for dinosaurs in his Big Reptile Tree (bottom right in http://www.reptileevolution.com/reptile-tree.htm).  Marasuchus and probable 'sphenosuchian' SMNS 12352 are theropods (so was Trialestes until last month- I assume he changed some of its codings in response to my comments).  All herbivorous dinosaurs, silesaurs and poposaurs are in a Phytodinosauria clade.  Daemonosaurus is a basal ornithischian, Pisanosaurus is a basal poposaur+silesaur, sauropodomorphs are polyphyletic, etc..  It's quite a mess.

Avemetatarsalia in Peters' most recent cladogram, taken from his website.

I've attacked Peters' analysis from a number of angles.  Noting it lacks characters that support traditional clades, noting its characters are poorly formed, noting numerous miscodings, but Peters remains unconvinced by these small assaults on portions of the data.  He says "You missed the point, Mickey. What I am asking you to do is adjust my tree topology to suit your hypothesis. Then we can compare your changes to the large reptile tree. I’ll put up your figures and compare them with mine. Then we’ll look at synapomorphies. The list of characters is infinite for any taxon, as you can get down to individual chemistry and DNA if you like. So, merely listing a few to a dozen characters is not a solution. Rearrange the tree topology like you want to, then we’ll talk."  And "You have your assignment: Nest Daemonosaurus with theropods while including Heterodontosaurus and Massospondylus. That’s a half-dozen to a dozen taxa at most to deal with. Then we’ll compare answers."

So nothing less than a total review of his data will do, it seems.  And that's what I've done.  Recoded all of the taxa he includes in Dinosauria in addition to some outgroups, gone through the characters and ordered/divided them when appropriate, and determined what Peters' characters and taxa actually show.  What I've found is worse than I expected, but before we get into the results, I have a number of observations as to why his analysis is so bad.

First, Peters' codings are often not based on the preserved material at all.  I'm not even talking about his Digital Graphical Segregation, i.e. overzealous tracing.  No, I mean things like coding much of Turfanosuchus' postcrania from the Wikipedia photo of the specimen.  So all of the manual and pedal characters are coded, just like you can see the bones restored at his website.  But if he would have read Nesbitt (2011), he would know "only the proximal portions of the metatarsals are preserved, whereas the manus and most of the pes are sculpted", and indeed you can see the color difference of proximal metatarsals II-IV and phalanges IV-2 and IV-3 in the photo.  Similarly, he codes much of Lotosaurus from mounts, when parts of these are fake and e.g. the pubis is actually unknown.  Then there's the hand of Scelidosaurus, based on the specimen privately owned by Sole.  But this is fake as the actual fossil does not preserve the manus (or most of the pes, or the tip of the snout...).  Even worse is when he codes characters from areas not preserved or physically reconstructed.  Like Pisanosaurus (whose skull is known from a posterior maxillary fragment), being coded for premaxilla-maxilla articulation, snout depth, lacrimal-naris contact, lacrimal height, squamosal extent, skull roof fusion, vomeral and parasphenoid teeth, premaxillary tooth size, etc..  Even his own skull reconstruction doesn't show these as known.  Examples like this are common.

Most preserved skull elements of Pantydraco, from Galton and Kermack (2011).  Note combining these into a skull will not necessarily get you the result of Yates (2003) in every detail.

Peters also seems to code a LOT from reconstructions, without actually checking to see if the character can be determined from the material itself.  Marasuchus restored with gastralia?  Guess it had them, despite the fact it doesn't preserve any.  Another good example is the skull of Pantydraco, where Yates (2003) provided a nice reconstruction, but most elements are incomplete with uncertain articulations with each other, and preserved with only one surface exposed (see figure above).  A lot of reconstructions contain a good amount of plausible guesswork, but Peters treats it all as hard data to code. This is quite ironic considering that his own reconstructions often vary so much from published ones.

Connected to this flaw is Peters' overzealousness in coding characters that are based on the presence of small and easily lost elements.  Since Peters' tree goes back to Ichthyostega, there are many characters coding for the loss of all of the fishy skull roof bones (supratemporal, postfrontal, intertemporal, postparietal, tabular, etc.).  But taxa known from partial and disarticulated skulls are coded as lacking these, like Panphagia.  The other big area affected by this are the small pectoral elements.  Only preserve a disarticulated scapula and coracoid?  Guess I'll code you as lacking clavicles, an interclavicle, sternal plates and cleithrum...  Now sure all archosaurs probably did lack a cleithrum and most of the skull elements noted above, but it's just sloppy to code them that way when it's actually unknown.  And sometimes the elements really are present, contra Peters' coding.  Like Coelophysis having clavicles, or Heterodontosaurus and Scelidosaurus having ossified sterna.  I wonder how much this kind of coding is affecting his tree down in areas where taxa actually do commonly have these elements.

All known skull elements of Panphagia (from Martinez and Alcober, 2009).  Oh yeah, it definitely lacked supratemporals, tabulars, intertemporals and a postparietal....
The sheer amount of miscodings is appalling.  91 in the first 10 characters, from 28 taxa, so out of 280 possible codings.  91/280 = 32.5%.  93/280 for the middle 10 characters, or 33.2%.  87/280 for the last 10 characters, or 31.1%.  So basically one out of three characters is coded wrong by Peters.  Some of these are instances where it could be subjective regarding how complete a specimen has to be before a character is coded or how schematic reconstructions are when ratios are close, but there are a TON of blatant unjustifiable mistakes too.  Marasuchus coded as having osteoderms and phalanges on metatarsal V, Gracilisuchus coded as being mesotarsal (see below figure for how that happened) and having a tibia longer than its femur, Heterodontosaurus coded as lacking a parietal sagittal crest and parietal fusion... I could go on. 

Peters' comparison between supposed Gracilisuchus holotype (left) and Gracilisuchus specimen PVL 4597 (right).  In actuality, the left is a composite between the holotype and PVL 4597, though the ilium and hindlimb of the holotype don't belong to Gracilisuchus.  Note the "alternate" interpretation of Gracilisuchus as mesotarsal by Peters, which is a coded difference between the OTUs in his matrix.  Not only is the illustrated tarsus based on (wait for it...) PVL 4597, but his alternate illustration flips the calcaneum horizontally!  Sorry Peters, one side of that bone has a facet and the other doesn't, and it was quite clearly crurotarsal.  Bones aren't just shapes that can be rearranged.  But then, he jams the ischia in upside down against the pubes, though the latter were explicitly said to lack articular surfaces for the ischia.  Sigh.

In general, the coding suggests an unfamiliarity with the literature.  For instance, Peters codes PVL 4597 (a specimen whose pelvis and hindlimb were recently described by Lecuona and Desojo) separately from Gracilisuchus as he believes it differs from the holotype.  In the blog post, he compares the pelvis and hindlimb to figures 8 and 9 from Romer (1972), with the only noted difference being "Gracilisuchus has a metatarsal 4 shorter than 3. In the PVL specimen these two metatarsals were subequal."  Yet that pes in Romer's paper is not the holotype, it's a composite between the holotype and what Romer called the Tucuman specimen.  And what is the Tucuman specimen?  None other than PVL 4597.  Romer's text indicates the holotype doesn't preserve a complete metatarsal IV so the figure's IV/III ratio is based on PVL 4597.  Peters was comparing the specimen to itself and finding it belonged elsewhere!  The IV/III ratios of the left side as reported by Romer vs. L&D are 97% vs. 95%.  A 2% difference, and the right side Romer hadn't prepared yet has a ratio of 105%.  The other differences in his matrix are basically all due to miscodings.
This is just one example.  There's the fact he doesn't code any skull characters for Poposaurus, when jaw elements are known.  Sure, Parker and Nesbitt (2013) came out too late, but there's Gauthier et al.'s (2011) specimen which was coded into Nesbitt's matrix.  Or that he codes Pisanosaurus for both cervical and caudal characters, when the vertebrae in question are a series that have been assigned to the neck or to the tail, but you can't have it both ways!  Or that none of Hexinlusaurus' postcrania is coded, I can only assume because he was working with Barrett et al.'s (2005) brief discussion of the skull and lacked He and Cai's (1984) original osteology.  Ditto for not having Padian and Rosenbaum's (2000) description of new Scutellosaurus material.
Yes it's hard to keep up with the literature, but it's necessary if you're going to proclaim sweeping heterodox conclusions as the truth.

As for the characters used, there are simply far too few, as I've always said.  228 sounds like a lot, but 96 of these only vary in taxa not examined here (e.g. cleithrum presence), and another 31 only vary in a single examined taxon, making them useless in this analysis (phylogenetically uninformative, to use the technical term).  Which leaves us with 101 characters deciding dinosaur phylogeny.  If we only use this same set of taxa in Nesbitt's (2011) analysis, it still has 199 informative characters.  Even Cabreira et al.'s (2011) version of Yates' big sauropodomorph analysis (which has single OTUs for Crurotarsi and Ornithischia) has 159 informative characters, and Brusatte et al.'s (2010) archosaur analysis (which has two ornithischians and no sauropodomorphs shared with Peters') has 120.  The characters that do vary are often basic proportions and shapes, with relatively few structural details (foramina, fossae, processes, laminae, etc.) coded.  Thus it caters toward complete and articulated specimens, while more fragmentary taxa won't be able to be coded for much.  For instance, Diodorus (known from partial dentary, teeth, humeri, femur and metatarsal III) can be coded for 34 characters in Nesbitt's analysis, but only 11 in Peters'.  There's a huge emphasis on the skull (58% of the informative characters), and almost nothing on the main limb bones and tarsus.  The latter could go a ways toward explaining why Peters doesn't recover pterosaurs close to dinosaurs.  While usually we think of too few characters as being bad merely because taxa will be placed incorrectly without of the evidence being brought to bear, there are also more subtle consequences.  For instance, if only relatively complete and articulated specimens preserve enough characters to code, then more fragmentary taxa that are important for being basal or having novel character combinations won't be able to be included.  

Because most of the characters used are general proportions, they can more easily vary due to ontogeny and taphonomy.  This is fine in larger analyses that will have more detail characters that can overcome them, but in Peters' analysis taxa often end up related due to comparative sizes of cranial fenestrae or limb proportions without regard to detailed anatomy.  This probably explains in large part why Peters doesn't find standard clades in so many places.

What Peters' character 117 was intended to code.  Mandibles in dorsal view of Captorhinus (left) and Proganochelys (right), showing surangular ridge in the latter highlighted in blue.  Figure from Gaffney (1990).

Several times Peters uses characters from standard amniote analyses, but misunderstands or misuses them.  A few examples follow.
- Character 117 (Surangular lateral shelf: (0) absent; (1) present) refers to a laterally placed ridge in dorsal view- i.e. a narrow dorsal edge to the surangular, as described by Laurin and Reisz (1995- ch. 73).  They used it to group procolophonids with turtles, and it can be seen clearly in e.g. Proganochelys (Gaffney, 1990- fig. 55, 56, 57B), while the lateral surface lacks a ridge (fig. 58, 59).   Yet Peters codes it as if it refers to a ridge on the lateral surface that can be seen in lateral view, missing only in Pisanosaurus and poposaurs.  In actuality, all scorable taxa have it, which is unsurprising as it is supposedly a eureptilian character as well.
- Character 45 is defined as "Frontal shape: (0) without a posterior process; (1) posterior process present. [deBraga & Rieppel 1997, Rieppel 1998]."  Peters codes it as present basally but lacking in phytodinosaurs.  Yet deBraga and Rieppel define the frontal lateral process as "a distinct lateral lappet (process) that projects out from the frontal margins at an abrupt 70° to 90° angle."  This isn't present in any examined taxon.
- Peters defines character 50 as "Temporal ledge (distinct overhang at upper temporal area): (0) no ledge; (1) made from squamosal; (2) made from supratemporal and tabular. [Gauthier et al. 1988, Laurin & Reisz 1995, Hill 2005]."  Yet none of those references include such a character.  If he meant Gauthier et al.'s character 10 " Temporal musculature originates ventrally (0), or dorsally (1), on the parietal table" and Hill's character 91 "Temporal muscles on parietal table: (0) originate ventrolaterally – parietal margin straight; (1) originate dorsolaterally – parietal lateral margin embayed", that involves the medial edge of the supratemporal fenestra, not the lateral edge. The ledge is made from the parietal, not the squamosal, supratemporal or tabular.
While none of these actually vary in the examined taxa, I wonder what effect Peters' miscoding has deeper toward the tree base where they really do vary.  

Another type of problematic coding involves classic characters Peters adds states to, which end up hiding homology.  Imagine if we used the classic tetanurine character "less than X caudal vertebrae with transverse processes" but then added the state "caudals with elongated prezygapophyseal and chevron rods" and coded dromaeosaurids as having the rods.  This would hide the fact they also share the low number of transverse processes with other tetanurines, so that it couldn't help group them together.  A few examples from Peters' matrix follow.
- For character 187, taxa are coded either as having diverging pubic and ischial aprons (as opposed to a solid puboischiadic plate or a thyroid fenestra) or retroverted rods (in ornithischians).  Yet ornithischians still have elongated pubic and ischial shafts instead of a solid plate or thyroid fenestra, regardless of whether the pubis is retroverted or missing an apron (both also covered by other characters anyway).  
- Peters describes character 138 as swollen neural spines, and cites several authors.  Yet those authors instead code swollen neural arches- Evans (1988- ch. B1), Laurin and Reisz (1995- ch. 86), deBraga and Rieppel (1997- ch. 106), Hill (2005- ch. 220), which means the width of the zygapophyseal portion of the neural arch.  All of the taxa in this reduced matrix are coded a different state- transverse processes present.  Yet the taxa the previous authors coded for their states have transverse processes too (e.g. Ophiacodon, Seymouria), so this distinction is invalid.
- For character 93, every scored taxon is coded as state 4- "large choana that virtually fill that portion of the palate."  Oddly, the other states do not involve choana size.  States 0 and 1 ("Choanae orientation: (0) parallel the maxilla; (1) posteriorly deflected medially") were taken from Laurin and Reisz (1995- ch. 40), deBraga and Rieppel (1997- ch. 8) and Hill (2005- ch. 113)- choana "(0) parallel to maxilla, palatine forms its posterior edge only; (1) curved posteromedially, palatine forms its posterior and part of its lateral edge."  The scorable taxa actually have state 1 regardless of how big their choanae are.
As with the previous issue, this could really be affecting the phylogeny closer to the base of Peters' tree where the characters were designed to work.


Hypothetical example of two hands which would be coded the same by Peters' character 174 because in each a line intersecting the ends of metacarpals II and III intersects the end of manual phalanx I-1 as well.  Lateral digits and phalanges on digits II and III left out for simplicity.

The final kind of problematic character I'll outline here are those dealing with so-called interphalangeal lines.  Peters (2000) published this idea, and it was well refuted by Hone et al. (2009).  Quoting the latter authors, "interphalangeal (IP) lines connect sets of adjacent metatarsophalangeal (MP) or IP joints, and/or the tips of ungual phalanges. Peters (2000a) suggested that IP lines act as 'hinge lines' about which flexion and extension of the manus or pes can occur, that the lines might be helpful in matching fossil tracks to trackmakers and elucidating phylogenetic relationships, and that they might represent a powerful tool for vertebrate palaeontologists because the lines could be used to predict the lengths of missing phalanges."  Even if Peters were right that interphalangeal lines could be objectively identified and were functionally useful, they would make terrible characters for phylogenetic analyses due to the multiple ways of achieving the same state.  For example, in his analysis character 174 codes for where in manual digit I a line intersecting the ends of metacarpals II and III would go.  But the angle of that line depends on the comparative lengths of metacarpals II and III (if II is longer the line angles distomedially, if III is longer it angles proximomedially), and where in digit I it intersects depends on the lengths of metacarpal I, phalanx I-1 and manual ungual I.  Note the figure above.  They would be coded the same, but that sameness isn't anything that could be accounted for by an inherited mutation.  Hands and feet don't develop in a way that the lengths of metacarpals II and III could be connected to the lengths of I and phalanx I-1 at a certain angle.  This goes to show not every objective feature should be used as a character in a phylogenetic analysis.  An equivalent would be the hypothetical character "number of presacral vertebrae divided by number of sacral vertebrae, answer rounds to an - even number (0); odd number (1)."  You'll get a definite answer, but the same state could be arrived at in many unrelated ways and is nothing a shared mutation could account for.

But hey, all of this is missing the point.  What's the result of evaluating all of Peters' data for dinosaurs?  Does it support his phylogeny?  Stay tuned, as that's coming next time.