splitBp: Split each record in a bedfile df into 2 breakpoints

splitBpR Documentation

Split each record in a bedfile df into 2 breakpoints

Description

Split each record in a bedfile df into 2 breakpoints

Usage

splitBp(bed)

Arguments

bed

a bed file as a data frame. column names are unimportant but columns 1:3 must follow bed order (chromosome, start, end)

Value

returns a bed file with

Note

Each record is split in two records of length 1: Record 1 is start to start+1 and record 2 is end-1 to end.


sdangelis/sdamisc documentation built on Sept. 21, 2022, 11:45 a.m.