Learn R Programming

genomation (version 1.4.2)

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

Description

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

Usage

convertBed2Introns(bed.df)

## S3 method for class 'data.frame': convertBed2Introns(bed.df)

Arguments

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

Value

Examples

Run this code
file = system.file('extdata/chr21.refseq.hg19.bed', package='genomation')
bed12 = read.table(file)
introns = convertBed2Introns(bed12)
head(introns)

Run the code above in your browser using DataLab