Skip to content

Commit

Permalink
testing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pipaber committed Aug 9, 2023
1 parent dd3be5c commit 0546d0a
Showing 1 changed file with 1 addition and 29 deletions.
30 changes: 1 addition & 29 deletions R/zzz.R
Original file line number Diff line number Diff line change
@@ -1,35 +1,7 @@
## .onLoad gets the data.frame from the /data directory
# .onLoad <- function(libname, pkgname) {
# load(system.file("data","graphInfo.rda",package=pkgname,
# lib.loc=libname))
# OrganismDbi:::.loadOrganismDbiPkg(pkgname=pkgname,
# graphInfo=graphInfo)
# }

library(AnnotationHub)

org.Carabica.eg.db <- function() {
ah <- AnnotationHub()
annotation_data <- ah[['AH111588']]
return(annotation_data)
}

install.packages("./org.Carabica.eg.db", repos="source")

TxDb.Carabica.NCBI <- function() {
ah <- AnnotationHub()
annotation_data <- ah[['AH111589']]
return(annotation_data)
}

install.packages("./TxDb.Carabica.NCBI", repos="source")


# .onLoad gets the data.frame from the /data directory
.onLoad <- function(libname, pkgname) {

load(system.file("data","graphInfo.rda",package=pkgname,
lib.loc=libname))
OrganismDbi:::.loadOrganismDbiPkg(pkgname=pkgname,
graphInfo=graphInfo)

}

0 comments on commit 0546d0a

Please sign in to comment.