read_segements_file {segmenter} | R Documentation |
segments
filesThe segments files are the output of running learn_model
and named
<cell>_3_segment.bed
read_segements_file(file, states)
file |
A string. The path to the file. |
states |
A |
A data.frame
# locate the file segmentfile <- file.path(tempdir(), 'GM12878_3_segments.bed') # read the file segs <- read_segements_file(segmentfile) head(segs)