-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e16f9e0
commit f205795
Showing
7 changed files
with
86 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Package: clusterProfiler | ||
Type: Package | ||
Title: A universal enrichment tool for interpreting omics data | ||
Version: 4.13.0 | ||
Version: 4.13.0.001 | ||
Authors@R: c( | ||
person(given = "Guangchuang", family = "Yu", email = "[email protected]", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0002-6485-8781")), | ||
person(given = "Li-Gen", family = "Wang", email = "[email protected]", role = "ctb"), | ||
|
@@ -17,7 +17,6 @@ Depends: | |
R (>= 3.5.0) | ||
Imports: | ||
AnnotationDbi, | ||
downloader, | ||
DOSE (>= 3.23.2), | ||
dplyr, | ||
enrichplot (>= 1.9.3), | ||
|
@@ -54,4 +53,4 @@ Packaged: NA | |
biocViews: Annotation, Clustering, GeneSetEnrichment, GO, KEGG, | ||
MultipleComparison, Pathways, Reactome, Visualization | ||
Encoding: UTF-8 | ||
RoxygenNote: 7.3.1 | ||
RoxygenNote: 7.3.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,35 @@ | ||
##' @importFrom utils packageDescription | ||
.onAttach <- function(libname, pkgname) { | ||
pkgVersion <- packageDescription(pkgname, fields="Version") | ||
msg <- paste0(pkgname, " v", pkgVersion, " ", | ||
"For help: https://yulab-smu.top/biomedical-knowledge-mining-book/", "\n\n") | ||
|
||
if (.Platform$OS.type == "windows") { | ||
dl.method <- "wininet" | ||
} else if (capabilities("libcurl")) { | ||
dl.method <- "libcurl" | ||
} else { | ||
dl.method <- getOption("download.file.method", default = "auto") | ||
} | ||
# pkgVersion <- packageDescription(pkgname, fields="Version") | ||
# msg <- paste0(pkgname, " v", pkgVersion, " ", | ||
# "For help: https://yulab-smu.top/biomedical-knowledge-mining-book/", "\n\n") | ||
|
||
# if (.Platform$OS.type == "windows") { | ||
# dl.method <- "wininet" | ||
# } else if (capabilities("libcurl")) { | ||
# dl.method <- "libcurl" | ||
# } else { | ||
# dl.method <- getOption("download.file.method", default = "auto") | ||
# } | ||
|
||
# options(clusterProfiler.download.method = dl.method) | ||
# options(timeout = max(300, getOption("timeout"))) # see ?download.file | ||
|
||
|
||
# Define a cache directory | ||
options(clusterProfiler_cache_dir = tempdir()) | ||
|
||
options(clusterProfiler.download.method = dl.method) | ||
options(timeout = max(300, getOption("timeout"))) # see ?download.file | ||
|
||
citation <- paste0("If you use ", pkgname, " in published research, please cite:\n", | ||
"T Wu, E Hu, S Xu, M Chen, P Guo, Z Dai, T Feng, L Zhou, ", | ||
"W Tang, L Zhan, X Fu, S Liu, X Bo, and G Yu. ", | ||
"clusterProfiler 4.0: A universal enrichment tool for interpreting omics data. ", | ||
"The Innovation. 2021, 2(3):100141") | ||
# citation <- paste0("If you use ", pkgname, " in published research, please cite:\n", | ||
# "T Wu, E Hu, S Xu, M Chen, P Guo, Z Dai, T Feng, L Zhou, ", | ||
# "W Tang, L Zhan, X Fu, S Liu, X Bo, and G Yu. ", | ||
# "clusterProfiler 4.0: A universal enrichment tool for interpreting omics data. ", | ||
# "The Innovation. 2021, 2(3):100141") | ||
|
||
|
||
packageStartupMessage(paste0(msg, citation)) | ||
# packageStartupMessage(paste0(msg, citation)) | ||
|
||
packageStartupMessage(yulab.utils::yulab_msg(pkgname)) | ||
} | ||
|
||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.