plot_sparsity: Sparsity of sample inheritParams generic_plot_function

Description Usage Arguments Value Examples

View source: R/scMethrix_plot.R

Description

Sparsity of sample inheritParams generic_plot_function

Usage

1
2
3
4
5
6
7
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

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

CompEpigen/scMethrix documentation built on Nov. 6, 2021, 3:09 p.m.