Given a bed file with chr and region,annotate the overlapping gene
- bedfile format: chr start end name(Arbitrary but can not be lacked)
- geffile: gtf file downloaded from GENCODE
- outputfile: file to be writen out
- needed package: data.table 1.10.4
- usage:
BedAnnoGene.R bedfile gtffile outputfile