Description Usage Arguments Value Examples
Plot the fit in pseudotime
1 2 3 4 |
sce |
An object of class SCE set |
models |
A list of models returned by fit_pseudotime_models. If NULL (default), these will be re-calculated |
n_cores |
Number of cores to use when calculating the pseudotime models if 'model' is NULL |
facet_wrap_scale |
Passed to the scales argument in |
use_log_scale |
Logical If TRUE scale_y_log10 is added to plot |
color_by |
The variable in pData(sce) by which to colour the points |
nrow |
Number of rows to be passed to ggplot2::facet_wrap |
ncol |
NUmber of columns to be passed to ggplot2::facet_wrap |
mask_min_expr |
Logical. If TRUE (default) any predicted expression less than sce@lowerDetectionLimit will be set to sce@lowerDetectionLimit |
line_color |
The colour of the predicted expression line to draw |
... |
Additional arguments to fit_pseudotime_models |
An plot object from ggplot
1 2 3 4 5 | library(scater)
data('sc_example_counts') ; sce <- newSCESet(countData = sc_example_counts)
sce <- embeddr(sce)
sce <- fit_pseudotime(sce)
plot_pseudotime_model(sce[1,]) # select first gene
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.