| read_chromsize_file {segmenter} | R Documentation |
chromsizefileThe file should contain exactly two columns. One for the name of the chromosome and the other for its length.
read_chromsize_file(file)
file |
A string. The path to the file. |
A data.frame
# locate the file
chromsizefile <- system.file('extdata/CHROMSIZES',
'hg18.txt',
package = 'chromhmmData')
# read the file
read_chromsize_file(chromsizefile)