read.comethylation: Parse 'tsv' output files from the Python software...

Description Usage Arguments Details Value Note See Also Examples

Description

Read the tsv output files from the Python software comethylation and construct a CoMeth object.

Usage

1
2
read.comethylation(files, sample_names, methylation_types, seqinfo,
  quiet = FALSE)

Arguments

files

The .tsv files created by comethylation. These files may be compressed with gzip or bzip2.

sample_names

The sample names of each file.

methylation_types

A character vector with the type of methylation type of each file.

quiet

logical: if FALSE (default), read.comethylation() will print a line, saying how many items (m-tuples) have been read per file.

seqinfo

A Seqinfo object containing information about the reference genome of the sample.

Details

All files should be of the same size m-tuples, e.g. all 2-tuples.

Value

A CoMeth object

Note

The compression of file is determined by the file extension: .gz for compressed with gzip and .bz2 for compressed with bzip2. Otherwise the file is assumed to be uncompressed.

See Also

CoMeth

Examples

1
cat("TODO")

PeteHaitch/cometh documentation built on May 8, 2019, 1:32 a.m.