#Import data in a bed matrix
x <- read.bed.matrix( system.file("extdata", "LCT.EUR.b37.bed", package="Ravages") )
#Group variants within known genes
x <- set.genomic.region(x)
#Perform association test
x.freq.asso <- multinomial.asso.freq(x, test = "Genotypic",
pheno = x@ped$population)
Run the code above in your browser using DataLab