Calculates summary statistics including Colless' statistic, gamma statistic of the locus tree input as an index as part of a list, gamma statistic of gene tree, sackin statistic, cherry statistic, and time to most recent common ancestor
1 2 3
Locus tree object obtain from 'sim_lt_gt_mlc'
Index of locus tree object of interest
Dataframe with summary statistics for each gene tree
1 2 3 4 5 6 7 8 9 10 11 12
# first simulate a species tree mu <- 0.5 lambda <- 1.0 nt <- 6 tr <- sim_stBD(sbr = lambda, sdr = mu, numbsim = 1, n_tips = nt) # for a locus tree with 100 genes sampled per locus tree gentrees <- sim_msc(tr[], ne = 10000, num_sampled_individuals = 1, num_genes = 100) gt_df <- summarize_gt(gentrees, lt_indx = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.