#Get an example BAM file and generate a chromosome table featuring fragment names and lengths
example.bam <- list.files(file.path(system.file(package='contiBAIT'), 'extdata'), full.names=TRUE)[1]
chrTable <- makeChrTable(example.bam)
show(chrTable)
dividedChr <- makeChrTable(example.bam, splitBy=1000000)
show(dividedChr)Run the code above in your browser using DataLab