write_bedgraphs {methrix}R Documentation

Writes bedGraphs from methrix object

Description

Writes bedGraphs from methrix object

Usage

write_bedgraphs(
  m,
  output_dir = NULL,
  rm_NA = TRUE,
  force = FALSE,
  n_thr = 4,
  compress = TRUE,
  SeqStyle = "UCSC"
)

Arguments

m

methrix object

output_dir

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

rm_NA

remove NAs

force

forces to create files if they are existing

n_thr

Default 4.

compress

Whether to compress the output. Default TRUE

SeqStyle

Default 'UCSC' with 'chr' prefix.

Value

writes bedgraph files to output

Examples

data('methrix_data')
write_bedgraphs(m = methrix_data, output_dir = './temp')

[Package methrix version 1.2.06 Index]