visualiseBranchPointStats: Visualise Branch Point Stats

Description Usage Arguments Value Examples

View source: R/TrajectoryGeometry.R

Description

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.

Usage

1
visualiseBranchPointStats(branchPointData, average = "mean")

Arguments

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").

Value

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

Examples

1

AnnaLaddach/TrajectoryGeometry documentation built on Jan. 28, 2021, 10:41 a.m.