import(methods) importFrom(utils, available.packages, contrib.url, installed.packages, str) importFrom(stats, setNames) import(BiocGenerics) import(S4Vectors) import(IRanges) import(GenomeInfoDb) import(GenomicRanges) import(XVector) import(Biostrings) import(Rsamtools) import(rtracklayer) ### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ### Export S4 classes ### exportClasses( OnDiskLongTable, SNPlocs, InjectSNPsHandler, XtraSNPlocs, BSgenome, MaskedBSgenome, BSgenomeViews, ## BSgenomeForge classes: BSgenomeDataPkgSeed ) ### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ### Export S3 methods ### S3method(as.data.frame, BSgenomeViews) ### We also export them thru the export() directive so that (a) they can be ### called directly, (b) tab-completion on the name of the generic shows them, ### and (c) methods() doesn't asterisk them. export( as.data.frame.BSgenomeViews ) ### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ### Export S4 methods for generics not defined in BSgenome ### exportMethods( ## Methods for generics defined in the base package: length, names, nrow, ncol, dim, colnames, as.character, as.list, as.data.frame, "[[", "$", unlist, nchar, ## Methods for generics defined in the methods package: coerce, show, ## Methods for generics defined in the BiocGenerics package: start, end, width, strand, organism, species, ## Methods for generics defined in the S4Vectors package: elementNROWS, ## Methods for generics defined in the IRanges package: ranges, Views, subject, score, ## Methods for generics defined in the GenomeInfoDb package: seqinfo, "seqinfo<-", seqnames, "seqnames<-", commonName, provider, providerVersion, releaseDate, releaseName, ## Methods for generics defined in the GenomicRanges package: granges, ## Methods for generics defined in the Biostrings package: getSeq, seqtype, alphabetFrequency, hasOnlyBaseLetters, uniqueLetters, letterFrequency, oligonucleotideFrequency, nucleotideFrequencyAt, consensusMatrix, consensusString, matchPWM, countPWM, vmatchPattern, vcountPattern, ## Methods for generics defined in the rtracklayer package: export ) ### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ### Export non-generic functions ### export( ## OnDiskLongTable-class.R: saveAsOnDiskLongTable, saveRowidsForOnDiskLongTable, OnDiskLongTable, getBatchesFromOnDiskLongTable, getRowsByIndexFromOnDiskLongTable, getRowsByIdFromOnDiskLongTable, ## SNPlocs-class.R: newSNPlocs, ## XtraSNPlocs-class.R: newXtraSNPlocs, ## BSgenome-class.R: BSgenome, MaskedBSgenome, ## available.genomes.R: installed.genomes, available.genomes, getBSgenome, ## injectSNPs.R: installed.SNPs, available.SNPs, ## bsapply.R: bsapply, ## BSgenomeViews-class.R: BSgenomeViews, ## export-methods.R: writeBSgenomeToFasta, writeBSgenomeToTwobit, ## BSgenomeForge.R: forgeSeqlengthsFile, forgeSeqFiles, forgeMasksFiles ) ### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ### Export S4 generics defined in BSgenome + export corresponding methods ### export( ## OnDiskLongTable-class.R: breakpoints, blocksizes, rowids, ## SNPlocs-class.R: referenceGenome, compatibleGenomes, snpcount, snplocs, snpid2loc, snpid2alleles, snpid2grange, ## InjectSNPsHandler-class.R: SNPlocs_pkgname, SNPcount, SNPlocs, ## XtraSNPlocs-class.R: snpsBySeqname, snpsByOverlaps, snpsById, ## BSgenome-class.R: sourceUrl, mseqnames, masknames, ## injectSNPs.R: injectSNPs, ## BSgenomeForge.R: forgeBSgenomeDataPkg, forgeMaskedBSgenomeDataPkg ) ### Exactly the same list as above. exportMethods( breakpoints, blocksizes, rowids, referenceGenome, compatibleGenomes, snpcount, snplocs, snpid2loc, snpid2alleles, snpid2grange, snpsBySeqname, snpsByOverlaps, snpsById, sourceUrl, SNPlocs, SNPlocs_pkgname, SNPcount, mseqnames, masknames, injectSNPs, forgeBSgenomeDataPkg, forgeMaskedBSgenomeDataPkg )