Learn R Programming

sctransform (version 0.4.3)

plot_model_pars: Plot estimated and fitted model parameters

Description

Plot estimated and fitted model parameters

Usage

plot_model_pars(
  vst_out,
  xaxis = "gmean",
  show_theta = FALSE,
  show_var = FALSE,
  verbosity = 2
)

Value

A ggplot object

Arguments

vst_out

The output of a vst run

xaxis

Variable to plot on X axis; default is "gmean"

show_theta

Whether to show the theta parameter; default is FALSE (only the overdispersion factor is shown)

show_var

Whether to show the average model variance; default is FALSE

verbosity

An integer specifying the verbosity level: 0 (silent, no messages), 1 (show messages only), or 2 (show messages and progress bars); default is 2

Examples

Run this code
# \donttest{
vst_out <- vst(pbmc, return_gene_attr = TRUE)
plot_model_pars(vst_out)
# }

Run the code above in your browser using DataLab