read_transitions_file {segmenter}R Documentation

Read transitions file

Description

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

Usage

read_transitions_file(file, states)

Arguments

file

A string. The path to the file.

states

A character vector. The names of the states.

Value

A matrix

Examples

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

# read the file
read_transitions_file(fl)


[Package segmenter version 0.99.14 Index]