import(methods)

importFrom(IRanges, IRanges, "values<-", values, elementMetadata, ranges,	
	"elementMetadata<-", "%in%", as.list)

importClassFrom(snpStats, "SnpMatrix")
exportClass("SnpMatrix")
importFrom(snpStats, impute.snps)
export(impute.snps)

importFrom(BiocGenerics, mget, match)

importClassFrom(GenomicRanges, GRanges, GenomicRanges, GenomicRangesORmissing)
importClassFrom(IRanges, DataFrame, Vector, Annotated)

importFrom(GenomicRanges, GRanges, seqnames, seqlevels)
importFrom(IRanges, RangedData, mcols, values, "mcols<-", overlapsAny, DataFrame)
importFrom(rtracklayer, import)
importFrom(Rsamtools, TabixFile, open.TabixFile, close.TabixFile)
importFrom(BiocGenerics, cbind)

exportClass(gwaswloc)
exportMethods("getRsids", "[", "getTraits", "subsetByChromosome", "subsetByTraits")

export(locs4trait, topTraits, elementMetadata, ranges, chklocs, riskyAlleleCount)
export("getRsids", "getTraits", "subsetByChromosome", "subsetByTraits",
   "obo2graphNEL", "makeCurrentGwascat", "traitsManh", "gwcex2gviz", 
   values, mcols, "mcols<-", seqnames, match, overlapsAny, DataFrame, bindcadd_snv)

