Skip to content

Commit f3972d8

Browse files
committed
update
1 parent 1167f23 commit f3972d8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: clusterProfiler
22
Type: Package
33
Title: A universal enrichment tool for interpreting omics data
4-
Version: 4.15.1.001
4+
Version: 4.15.1.002
55
Authors@R: c(
66
person(given = "Guangchuang", family = "Yu", email = "[email protected]", role = c("aut", "cre", "cph"), comment = c(ORCID = "0000-0002-6485-8781")),
77
person(given = "Li-Gen", family = "Wang", email = "[email protected]", role = "ctb"),

NEWS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ TODO:
1010
- e.g. independent test for different omics data and then combine results
1111
-->
1212

13-
# clusterProfiler 4.15.1.001
13+
# clusterProfiler 4.15.1.002
1414

15+
+ more general regular pattern to remove species suffix in KEGG pathway name (2025-02-27, Thu)
1516
+ remove input duplicated genes in `groupGO()` (2024-11-29, Fri, #741)
1617

1718
# clusterProfiler 4.15.1

R/enrichKEGG.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ download.KEGG.Path <- function(species) {
186186

187187
keggpathid2name.df <- kegg_list("pathway", species)
188188

189-
keggpathid2name.df[,2] <- sub("\\s-\\s[a-zA-Z ]+\\([a-zA-Z ]+\\)$", "", keggpathid2name.df[,2])
189+
# keggpathid2name.df[,2] <- sub("\\s-\\s[a-zA-Z ]+\\([a-zA-Z ]+\\)$", "", keggpathid2name.df[,2])
190+
keggpathid2name.df[,2] <- sub("\\s-\\s[^-]+$", "", keggpathid2name.df[, 2])
190191
# keggpathid2name.df[,1] %<>% gsub("path:map", species, .)
191192

192193
## if 'species="ko"', ko and map path are duplicated, only keep ko path.

0 commit comments

Comments
 (0)