## S3 method for class 'bammshifts':
plot(x, ephy, method = "phylogram", pal = "RdYlBu",
rank = NULL, index = NULL, spex = "s", legend = TRUE,
add.freq.text = TRUE, logcolor = FALSE, breaksmethod = "linear",
color.interval = NULL, JenksSubset = 20000, ...)bammshifts.bammdata.plot.bammdata.NULL) a random configuration is chosen.NULL) a random sample is chosen.ephy$type = "trait".assignColorBreaks.NA. See details in plot.bammdata for further details.breaksmethod = "jenks", the number of regularly spaced samples to subset from the full rates vector. Only relevant for large datasets. See help file for assignColorBreaks.plot.bammdata.A core shift configuration is defined by a set of nodes that have shift probabilities that are substantially elevated relative to what you expect under the prior alone. These core configurations are inferred in distinctShiftConfigurations. It is almost certain that more than one core shift configuration will be sampled by BAMM. Moreover, each core shift configuration may contain many subconfigurations. A subconfiguration contains the core shift node configuration and zero or more additional shift nodes that occur with low marginal probability.
Points are added to the branches subtending the nodes of each rate configuration. The size of the point is proportional to the marginal probability that a shift occurs on a specific branch. If the instantaneous rate at a shift's origin represents an initial increase above the ancestral instantaneous rate the point is red. If the instantaneous rate at a shift's origin represents an initial decrease below the ancestral instantaneous rate the point is blue.
distinctShiftConfigurations, plot.bammdatadata(whales, events.whales)
ed <- getEventData(whales, events.whales, burnin=0.25, nsamples=500)
sc <- distinctShiftConfigurations(ed, expectedNumberOfShifts = 1, threshold = 5)
plot(sc, ed)Run the code above in your browser using DataLab