#Import data in a bed matrix
x <- read.bed.matrix( system.file("extdata", "LCT.EUR.b37.bed", package="Ravages") )
#Group variants within known genes and
#Within coding and regulatory regions
x <- set.genomic.region.subregion(x,
regions = genes.b37, subregions = subregions.LCT)
Run the code above in your browser using DataLab