powered by
This function creates a matrix of gene annotations in bed format, based on the information given in an importet gtf table.
gtfToBed(gtf)
An imported gtf table.
A data.frame in bed format having the four columns Chr, Start, Stop and Gene
Chr
Start
Stop
Gene
After a gtf file was imported with importGTF this function transforms it into a data.frame with bed formatting.
importGTF
# NOT RUN { annotTrack <- read.table(file="Homo_sapiens.GRCh37.70.gtf",sep="\t") annotBed <- gtfToBed(annotTrack) # }
Run the code above in your browser using DataLab