[Mattice-commits] r187 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Feb 27 15:15:18 CET 2009


Author: andrew_hipp
Date: 2009-02-27 15:15:17 +0100 (Fri, 27 Feb 2009)
New Revision: 187

Modified:
   pkg/man/carex.Rd
Log:
fixing tree structure in example... back to ouch-style tree for example

Modified: pkg/man/carex.Rd
===================================================================
--- pkg/man/carex.Rd	2009-02-27 02:32:47 UTC (rev 186)
+++ pkg/man/carex.Rd	2009-02-27 14:15:17 UTC (rev 187)
@@ -44,13 +44,13 @@
   library(maticce)
   data(carex)
   ovales.tree <- ape2ouch(carex$ovales.tree) # tree comes in in phylo format, but we need an ouchtree object
-  trial <- runBatchHansen(carex$ovales.tree, carex$ovales.data, carex$ovales.nodes[1:4], maxNodes = 2) # for expedience, only tests for changes at up to 2 of the first 4 nodes
+  trial <- runBatchHansen(ovales.tree, carex$ovales.data, carex$ovales.nodes[1:4], maxNodes = 2) # for expedience, only tests for changes at up to 2 of the first 4 nodes
   summary(trial) # summarizes results using summary.hansenBatch and displays the results using print.hansenSummary
   multiModel(carex$ovales.tree, carex$ovales.data, carex$ovales.nodes[[2]]) # compares five different models of character change at node 2
-  trialSim <- ouSim(trial, carex$ovales.tree) # simulates the evolution of the chromosome number under the model-averaged values
+  trialSim <- ouSim(trial, ovales.tree) # simulates the evolution of the chromosome number under the model-averaged values
   plot(trialSim) # plots the character simulation, with all branches black
-  plot(trialSim, colors = paintBranches(carex$ovales.nodes[1:4], carex$ovales.tree)) # plots the character simulation, with branch colors changing at all 8 nodes
-  plot(trialSim, colors = paintBranches(list(carex$ovales.nodes[[2]]), carex$ovales.tree)) # plots the character simulation, with branch colors changing only at node 2
+  plot(trialSim, colors = paintBranches(carex$ovales.nodes[1:4], ovales.tree)) # plots the character simulation, with branch colors changing at all 8 nodes
+  plot(trialSim, colors = paintBranches(list(carex$ovales.nodes[[2]]), ovales.tree)) # plots the character simulation, with branch colors changing only at node 2
 }
 \author{Andrew L. Hipp <ahipp at mortonarb.org>}
 \keyword{datasets}                                            
\ No newline at end of file



More information about the Mattice-commits mailing list