Sparsity of sample inheritParams generic_plot_function

plot_sparsity(
  scm = NULL,
  assay = "score",
  type = c("box", "scatter"),
  pheno = NULL,
  verbose = TRUE
)

Arguments

scm

scMethrix; the single cell methylation experiment

assay

string; name of an existing assay. Default = "score"

type

string; Choose between 'box' (boxplot) or 'scatter' (scatterplot).

pheno

string; Col name of colData(m). Will be used as a factor to color different groups

verbose

boolean; Flag for outputting function status messages. Default = TRUE

Value

ggplot2 object

Examples

data('scMethrix_data') plot_sparsity(scm = scMethrix_data)