PLD_loc_mrca:
Location of Most Recent Common Ancestor
Description
Function that returns the posterior distribution of the geographic locations of the Most Recent Common Ancestor of a set of tips.
A barplot can be generated.
an object of class "phyloland" generated by a call to PLD_interface.
tips
a vector of character strings specifying the set of tips.
sub_sample
a vector of integers that specifies the indexes of the trees and locations to take into account.
Default is 0, all the trees and locations are considered.
plot_distrib
a logical value, if TRUE a barplot is plotted.
The default is FALSE.
col
a set of colors for the barplot.
Value
frequencies
matrix with 3 columns containing location latitudes, longitudes and frequencies.
locationsMRCA
vector containing all the sub_sample sampled locations for the tips Most Recent Common Ancestor.