bed12_to_exons: Convert BED12 to individual exons in BED6.

View source: R/bed12_to_exons.r

bed12_to_exonsR Documentation

Convert BED12 to individual exons in BED6.

Description

After conversion to BED6 format, the score column contains the exon number, with respect to strand (i.e., the first exon for - strand genes will have larger start and end coordinates).

Usage

bed12_to_exons(x)

Arguments

x

ivl_df

See Also

Other utilities: bed_makewindows(), bound_intervals(), flip_strands(), interval_spacing()

Examples

x <- read_bed12(valr_example("mm9.refGene.bed.gz"))

bed12_to_exons(x)


valr documentation built on Sept. 19, 2023, 1:07 a.m.