plot_stats: Plot descriptive statistics

View source: R/methrix_plot.R

plot_statsR Documentation

Plot descriptive statistics

Description

Plot descriptive statistics

Usage

plot_stats(
  plot_dat,
  what = "M",
  stat = "mean",
  ignore_chr = NULL,
  samples = NULL,
  n_col = NULL,
  n_row = NULL
)

Arguments

plot_dat

results from get_stats

what

Can be M or C. Default M

stat

Can be mean or median. Default mean

ignore_chr

Chromsomes to ignore. Default NULL

samples

Use only these samples. Default NULL

n_col

number of columns. Passed to 'facet_wrap'

n_row

number of rows. Passed to 'facet_wrap'

Details

plot descriptive statistics results from get_stats

Value

ggplot2 object

See Also

get_stats

Examples

data('methrix_data')
gs = get_stats(methrix_data)
plot_stats(gs)

CompEpigen/methrix documentation built on Sept. 23, 2023, 7:14 p.m.