Description Usage Arguments Details Value
plot_gam()
plots gam model fit for multiple features (genes) and archetypes
1 2 3 4 5 |
gam_deriv |
object with multiple gam fits (many arhetypes, many features). Either gam_deriv or gam_fit must be provided. |
gam_fit |
a fitted gam object as produced by gam(). |
data |
data.table dim(examples, dimensions) that includes distance of each example to archetype in columns given by |
feature |
character vector, which features (e.g. genes) to plot? |
archetype |
character vector, which archetypes to plot? |
groupCovs |
argument for plotGAM |
title_size |
size of individial plot titles and axis titles |
point_position |
point position option, a way to add jitter but "identity" by default |
title |
main title for all features and archetypes |
point_size/rug_size/point_alpha/rug_alpha |
size and alpha controls for points and geom_rug. |
Plotting of multiple gam fits is inspired by https://stackoverflow.com/questions/49471300/gam-plots-with-ggplot
plot_gam()
list (S3 object, plot_gam) containing data.table-s for each predictor in gam model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.