View source: R/plot-family-trajectory.R
plotTrajectoryFit | R Documentation |
Displays the trend of a trajectory in comparison to a variety of models / mathematical curves.
plotTrajectoryFit( object, trajectory_name, of_sample = "", variable, method_gs = "mean", accuracy = 5, display_residuals = FALSE, verbose = TRUE, ... )
object |
A valid spata-object. |
trajectory_name |
The trajectory of interest specified as a single character value. |
of_sample |
The sample(s) of interest specified as a single character value or vector. If set to "" (the default) the first sample is chosen. |
variable |
The gene or gene set of interest specified as a character value. |
method_gs |
Character value. The method according to which gene sets will be handled
specified as a character of length one. This can be either 'mean' or one
of 'gsva', 'ssgsea', 'zscore', or 'plage'. The latter four will be given to
|
accuracy |
Numeric. Given to |
display_residuals |
Logical. If set to TRUE the residuals are displayed via a red line. |
verbose |
Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
... |
Additional parameters given to |
Returns a ggplot-object that can be additionally customized according to the rules of the ggplot2-framework.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.