examineTrajectoryAssessment: Examine trajectory-moddeling results

View source: R/miscellaneous-helper-functions.R

examineTrajectoryAssessmentR Documentation

Examine trajectory-moddeling results

Description

Visualizes the distribution of the assessment-scores (residuals-area-under-the-curve) of a trajectory.

Usage

examineTrajectoryAssessment(
  atdf,
  limits = c(0, 10),
  plot_type = "histogram",
  binwidth = 0.5,
  clrp = "milo",
  ...
)

Arguments

atdf

A data.frame containing the results of trajectory-modelling. Must contain the variables:

variables

Character. The genes, gene-sets and features that have been assessed.

pattern

Character. The respective trajectory pattern.

auc

Numeric. The assessment value which is the residual's area under the curve.

limits

The minimum and maximum auc-values to include. Given to ggplot2::scale_x_continuous().

plot_type

One of 'histogram', 'density', and 'ridgeplot'.

...

additional arguments given to ggplot2::facet_wrap().

Value

Returns a ggplot-object that can be additionally customized according to the rules of the ggplot2-framework.


kueckelj/SPATA documentation built on March 22, 2022, 9:59 p.m.