read_enrichment_file {segmenter}R Documentation

Read enrichment files

Description

The segments files are the output of running learn_model and named <cell>_3_TSS.txt or <cell>_3_TES.txt.

Usage

read_enrichment_file(file, states, regions)

Arguments

file

A string. The path to the file.

states

A character vector. The names of the states.

regions

A character vector. The names of the regions.

Value

A matrix

Examples

# locate the file
fl <- file.path(tempdir(), 'GM12878_3_RefSeqTSS_neighborhood.txt')

# read the file
read_enrichment_file(fl)


[Package segmenter version 0.99.14 Index]