convertBed2Introns-methods: convert a data frame read-in from a bed file to a GRanges...

Description Usage Arguments Value Note Examples

Description

convert a data frame read-in from a bed file to a GRanges object for introns

Usage

1
2
3
4
convertBed2Introns(bed.df)

## S4 method for signature 'data.frame'
convertBed2Introns(bed.df)

Arguments

bed.df

a data.frame where column order and content resembles a bed file with 12 columns

Value

GRanges object

Note

one bed track per file is only accepted, the bed files with multiple tracks will cause en error

Examples

1
2
3
4
file = system.file('extdata/chr21.refseq.hg19.bed', package='genomation')
bed12 = read.table(file)
introns = convertBed2Introns(bed12)
head(introns)

genomation documentation built on Nov. 8, 2020, 5:21 p.m.