plot_stats {methrix} | R 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)

[Package methrix version 1.6.0 Index]