Skip to contents

This function takes a trajectory model and plots a boxplot of the observed vs predicted ATAC differences. The plot is grouped by the observed ATAC difference, which is divided into n_groups quantiles.

Usage

plot_prediction_boxplot(traj_model, n_groups = 5)

Arguments

traj_model

A trajectory model object

n_groups

The number of groups to divide the observed ATAC difference into

Value

A ggplot object representing the boxplot