read_emissions_file {segmenter}R Documentation

Read emissions file

Description

The segments files are the output of running learn_model and named emissions_3_segment.bed

Usage

read_emissions_file(file, states, marks)

Arguments

file

A string. The path to the file.

states

A character vector. The names of the states.

marks

A character vector. The names of the marks

Value

A matrix

Examples

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

# read the file
read_emissions_file(fl)


[Package segmenter version 1.0.0 Index]