# NOT RUN {
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.
## The function is currently defined as
function (m_bed, chrom_list = "chr2L")
{
    sec = NULL
    for (j in 1:length(chrom_list)) {
        sec = rbind(sec, m_bed[m_bed$chr == chrom_list[j], ])
    }
    return(sec)
  }
# }
Run the code above in your browser using DataLab