
deepSTRAPP output for fake categorical habitat data with 3-levels mapped on old time-calibrated ponerine ant phylogeny over 0 to 40 Mya
Source:R/datasets_doc.R
Ponerinae_deepSTRAPP_cat_3lvl_old_calib_0_40.RddeepSTRAPP output for fake categorical habitat data with 3-levels mapped on old time-calibrated ponerine ant phylogeny over 0 to 40 Mya.
This object is the typical result of a deepSTRAPP run carried out with run_deepSTRAPP_over_time().
It summaries STRAPP test results and can optionally include trait and diversification rate data frames, STRAPP test outputs,
updated trait data objects, and updated BAMM objects, that are required fro downstream plots and analyses.
Usage
data(Ponerinae_deepSTRAPP_cat_3lvl_old_calib_0_40)Details
deepSTRAPP output summarizing results of a deepSTRAPP run carried out with run_deepSTRAPP_over_time().
$pvalues_summary_dfData.frame with three columns providing test stat$estimateand$p_valueobtained for each time step (i.e.,$focal_time), that can be passed down toplot_STRAPP_pvalues_over_time()to generate a plot showing the evolution of the test results across time.$time_stepsNumerical vector. Time steps at which the STRAPP tests were carried out in the same order as the objects returned in the output lists.$trait_data_typeCharacter string. Specify the type of trait data. Here: "categorical".$trait_data_type_for_statsCharacter string. The type of trait data used to select statistical method. Here: "multinominal".$rate_typeCharacter string. The type of diversification rates used in the tests. Here: "net_diversification".
Optional summary df for multinominal data, if posthoc_pairwise_tests = TRUE:
$pvalues_summary_df_for_posthoc_pairwise_testsData.frame with five columns providing test stat$estimate,$p_value, and$p_value_adjustedfor each$pairof states involved in post hoc Dunn's tests obtained for each time step (i.e.,$focal_time). This data.frame can be passed down toplot_STRAPP_pvalues_over_time()to generate a plot showing the evolution of the post hoc test results across time.
Optional melted data.frames:
$trait_data_df_over_timeData.frame with three columns providing$trait_valueassociated with each$tip_IDfound along each time step (i.e.,$focal_time).$diversification_data_df_over_timeData.frame with six columns providing diversification regimes ($regime_ID) and$ratessorted by$rate_typealong tips ($tip_ID) found across all posterior samples ($BAMM_sample_ID) over each time step (i.e.,$focal_time).Those data.frames can be passed down to
plot_rates_through_time()to generate a plot showing the evolution diversification rates across trait values over time.
Optional objects generated for each time step (i.e., focal_time) and ordered as in $time_steps:
$STRAPP_results_over_timeList of objects summarizing the results of the STRAPP tests Seecompute_STRAPP_test_for_focal_time()for a detailed description of the elements in each object. Combined withreturn_perm_data = TRUE, it allows to plot the histograms of the null distributions used to assess significance of the tests withplot_histogram_STRAPP_test_for_focal_time(). (for a singlefocal_time) andplot_histograms_STRAPP_tests_over_time()(for multipletime_steps).$updated_trait_data_with_Map_over_timeList of objects containing trait data and updatedcontMap/densityMaps. UpdateddensityMapscan be plotted withplot_densityMaps_overlay()to display a phylogeny mapped with inferred states with branches cut at eachfocal_time.$updated_BAMM_objects_over_timeList of objects containing rates and regimes ID mapped on phylogeny. UpdatedBAMM_objectcan be plotted withplot_BAMM_rates()to display a phylogeny mapped with diversification rates with branches cut at eachfocal_time.