convert_methy_format: Convert methylation calls to NanoMethViz format

View source: R/convert_methy_format.R

convert_methy_formatR Documentation

Convert methylation calls to NanoMethViz format

Description

Convert methylation calls to NanoMethViz format

Usage

convert_methy_format(
  input_files,
  output_file,
  samples = fs::path_ext_remove(fs::path_file(input_files)),
  verbose = TRUE
)

Arguments

input_files

the files to convert

output_file

the output file to write results to (must end in .bgz)

samples

the names of samples corresponding to each file

verbose

TRUE if progress messages are to be printed

Value

invisibly returns the output file path, creates a tabix file (.bgz) and its index (.bgz.tbi)


Shians/NanoMethViz documentation built on Dec. 17, 2024, 8:56 a.m.