read_bins_file {segmenter}R Documentation

Read bins files

Description

The files contain the cell and the chromosome info in the first line and the binarized data from all marks in the rest.

Usage

read_bins_file(file)

Arguments

file

A string. The path to the file.

Value

A list of 3 items: cell, seqname and binaries.

Examples

# locate the file
fl <- system.file('extdata/SAMPLEDATA_HG18/',
                  'GM12878_chr11_binary.txt.gz',
                  package = 'segmenter')

# read the file
read_bins_file(fl)


[Package segmenter version 1.0.0 Index]