Plot RRphylo rates at a specified node
The function plotRates
plots the RRphylo
rates computed for a given clade as compared to the rates computed for the
rest of the tree.
plotRates(RR,node,export.tiff =TRUE,foldername)
RR |
an object produced by |
node |
the node subtending the clade of interest. |
export.tiff |
if |
foldername |
the path of the folder where plots are to be found. |
The function produces two barplots. On the left side, the rates (in absolute values) computed for the focal clade (blue) are plotted against the rates of the rest of the tree (green). On the right side, the absolute rates of individual branches of the focal clade are collated in increasing rate value (blue bars), and contrasted to the average rate computed over the rest of the tree branches (the vertical red line). It also returns the rate values for both nodes and species descending from the focal node.
data("DataApes") DataApes$PCstage->PCstage DataApes$Tstage->Tstage cc<- 2/parallel::detectCores() RRphylo(tree=Tstage,y=PCstage,clus=cc)->RR plotRates(RR,node=72,foldername=tempdir(),export.tiff = TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.