View source: R/TrajectoryGeometry.R
visualiseBranchPointStats | R Documentation |
This function creates plots and extracts statistics for analysing branch points. It returns plots and underlying data for visualising distance metrics and -log10 transformed pvalues (comparison to random trajectories) for trajectories with different starting points.
visualiseBranchPointStats(branchPointData, average = "mean")
branchPointData |
- the result of analyseBranchPoint |
average |
- if there are multiple distances available for each sampled trajectory, calculate the average using "mean" or "median" (defaults to "mean"). |
a list containing: branchPointValues - dataframe containing data underlying distance plot in long format pValues- dataframe containing data underlying p-value plot in long format distancePlot - ggplot object, violin plots of distance metric for sampled paths for different trajectory different starting points pValue - ggplot object, line plot of -log10 transformed p-values for comparing sampled paths to random paths for different trajectory starting points
cholBranchPointStats = visualiseBranchPointStats(chol_branch_point_results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.