read_bins_file {segmenter} | R Documentation |
bins
filesThe files contain the cell and the chromosome info in the first line and the binarized data from all marks in the rest.
read_bins_file(file)
file |
A string. The path to the file. |
A list
of 3 items: cell, seqname and binaries.
# locate the file fl <- system.file('extdata/SAMPLEDATA_HG18/', 'GM12878_chr11_binary.txt.gz', package = 'segmenter') # read the file read_bins_file(fl)