Plotting a set of features in a line plot

plot_features(traj, expression_source = "expression", features_oi = 2,
  margin = 0.02, cell_feature_importances = NULL,
  scale = dynutils::scale_quantile)

Arguments

traj

The trajectory

expression_source

Source of the feature expression, defaults to `expression`

features_oi

The features of interest, either the number of features or a vector giving the names of the different features

margin

The margin to add between milestones

cell_feature_importances

The importances of every feature in every cell, as returned by [dynfeature::calculate_cell_feature_importance()]

scale

Whether to rescale the expression, can be a function or boolean