methrix_report: Creates a detailed interative html summary report from...

Description Usage Arguments Value Examples

View source: R/methrix_report.R

Description

Creates a detailed interative html summary report from Methrix object. If the directory contains required files (from previous run), it directly proceeds to generate html report.

Usage

1
2
3
4
5
6
7
8
9
methrix_report(
  meth,
  output_dir = NULL,
  recal_stats = FALSE,
  plot_beta_dist = TRUE,
  beta_nCpG = 10000,
  prefix = NULL,
  n_thr = 4
)

Arguments

meth

methrix object

output_dir

Output directory name where the files should be saved. If NULL creats a tempdir

recal_stats

Whether summary statistics should be recalculated? If you are using subsetted methrix object set this to TRUE.

plot_beta_dist

Default TRUE. Can be time consuming.

beta_nCpG

Number of CpGs rto use for estimating beta value distribution. Default 10000

prefix

If provided, the name of the report and the intermediate files will start with the prefix.

n_thr

Default 4. Only used if plot_beta_dist is TRUE

Value

an interactive html report

Examples

1
2
3
4
5
## Not run: 
data('methrix_data')
methrix::methrix_report(meth = methrix_data)

## End(Not run)

methrix documentation built on Feb. 13, 2021, 2 a.m.