Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/standard-ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
config:
- {os: windows-latest, r: 'release'}
- {os: macOS-latest, r: 'release'}
- {os: macOS-latest, r: 'devel'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

Expand Down
7 changes: 3 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: ribiosGSEA
Type: Package
Title: Gene-Set Enrichment Analysis Tools in 'ribios'
Version: 1.6.7
Date: 2026-03-28
Version: 1.6.8
Date: 2026-06-12
Authors@R:
c(person(given = "Jitao David",
family = "Zhang",
Expand Down Expand Up @@ -73,7 +73,6 @@ Collate:
LinkingTo: Rcpp
VignetteBuilder: knitr
Encoding: UTF-8
RoxygenNote: 7.3.3
Additional_repositories: https://bedapub.r-universe.dev
URL: https://github.com/bedapub/ribiosGSEA
BugReports: https://github.com/bedapub/ribiosGSEA/issues
Expand All @@ -82,4 +81,4 @@ Remotes:
github::bedapub/ribiosPlot,
github::bedapub/ribiosExpression,
github::bedapub/ribiosNGS

Config/roxygen2/version: 8.0.0
22 changes: 6 additions & 16 deletions R/gmt.R
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ readMPSGmt <- function(file) {
#' \itemize{
#' \item{MSigDB: collections C2, C7 and Hallmark}
#' \item{RONET: which is a collection of publicly available pathway databases including REACTOME and NCI-Nature}
#' \item{goslim}
#' }
#' @return A \code{GmtList} object containing the default gene-set collections.
#'
Expand All @@ -66,39 +65,32 @@ readMPSGmt <- function(file) {
#' @export
readDefaultGenesets <- function(path,
mps=FALSE) {
assertFile(msigdb.c2.file <- file.path(path, "msigdb.c2.all.symbols.gmt"))
assertFile(msigdb.c7.file <- file.path(path, "msigdb.c7.all.symbols.gmt"))
assertFile(msigdb.hallmark.file <- file.path(path, "msigdb.hallmark.all.symbols.gmt"))
assertFile(msigdb.c2.file <- file.path(path, "msigdb.c2.gmt"))
assertFile(msigdb.c7.file <- file.path(path, "msigdb.c7.gmt"))
assertFile(msigdb.hallmark.file <- file.path(path, "msigdb.hallmark.gmt"))

assertFile(mps.pathway <- file.path(path, "MolecularPhenotyping-genesets.gmt"))

assertFile(ronet.file <- file.path(path, "path.ronet.roche.symbols.gmt"))
assertFile(goslim.file <- file.path(path, "go_slim.bp.roche.symbols.gmt"))

assertFile(upstream.file <- file.path(path, "MetaBase.downstream.expression.gmt"))
assertFile(mbdisease.file <- file.path(path, "MetaBase.DiseaseBiomarker.gmt"))
assertFile(mbmetabolic.file <- file.path(path, "MetaBase.Metabolic.gmt"))
assertFile(mbpath.file <- file.path(path, "MetaBase.PathwayMap.gmt"))
assertFile(mbtoxicity.file <- file.path(path, "MetaBase.Toxicity.gmt"))
assertFile(mbpathology.file <- file.path(path, "MetaBase.ToxicPathology.gmt"))
assertFile(mbprocess.file <- file.path(path, "MetaBase.TRprocesses.gmt"))

assertFile(immunomics.file <- file.path(path, "exp.immune.roche.symbols.gmt"))
assertFile(immunespace.file <- file.path(path, "immunespace.gmt"))
assertFile(mbprocess.file <- file.path(path, "MetaBase.ProcessNetwork.gmt"))

if(mps) {
mpsGSCs <- readMPSGmt(mps.pathway)
gscs <- BioQC::readGmt(msigdbC2=msigdb.c2.file,
msigdbC7=msigdb.c7.file,
msigdbHallmark = msigdb.hallmark.file,
immunomics = immunomics.file,
immunespace = immunespace.file)
msigdbHallmark = msigdb.hallmark.file)
gscs <- appendGmtList(mpsGSCs, gscs)
} else {
gscs <- BioQC::readGmt(MolecularPhenotyping=mps.pathway,
upstream=upstream.file,
ronet=ronet.file,
goslim=goslim.file,
mbdisease=mbdisease.file,
mbmetabolic=mbmetabolic.file,
mbpath=mbpath.file,
Expand All @@ -107,9 +99,7 @@ readDefaultGenesets <- function(path,
mbpathology=mbpathology.file,
msigdbC2=msigdb.c2.file,
msigdbC7=msigdb.c7.file,
msigdbHallmark = msigdb.hallmark.file,
immunomics = immunomics.file,
immunespace = immunespace.file)
msigdbHallmark = msigdb.hallmark.file)
}
return(gscs)
}
6 changes: 2 additions & 4 deletions R/post-processing.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ expandCameraTableGenes <- function(tbl) {
#' @return A list with two elements: \code{graph} (an igraph object) and
#' \code{resTbl} (a data.frame with columns Namespace, GeneSet, Score).
#'
#' @importFrom igraph make_empty_graph graph_from_adjacency_matrix
#' layout_in_circle V
#' @importFrom igraph make_empty_graph graph_from_adjacency_matrix layout_in_circle V
#' @importFrom ribiosUtils pairwiseJaccardIndex matchColumn boundNorm
#' @importFrom ribiosPlot royalbluegrayred
#' @export
Expand Down Expand Up @@ -197,8 +196,7 @@ readSigCameraResults <- function(file,
minAbsEffectSize=0.5,
minNGenes=5,
maxNGenes=200,
excludeNamespace=c("goslim", "immunespace",
"immunomics", "mbdisease",
excludeNamespace=c("mbdisease",
"mbpathology", "mbtoxicity",
"msigdbC7", "msigdbC2",
"MolecularPhenotyping")) {
Expand Down
3 changes: 1 addition & 2 deletions R/ribiosGSEA-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
#' @importFrom edgeR DGEList
#' @importFrom utils read.table write.table
#' @importFrom methods as callGeneric is new
#' @importFrom stats ave cor fisher.test kmeans median p.adjust
#' pchisq pt qt sd var model.matrix
#' @importFrom stats ave cor fisher.test kmeans median p.adjust pchisq pt qt sd var model.matrix
NULL

## following lines make it not necessary to document
Expand Down
5 changes: 0 additions & 5 deletions man/GeMS_BASE_URL.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions man/GeMS_GENESETS_URL.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions man/GeMS_INSERT_URL.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions man/GeMS_REMOVE_URL.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions man/GeMS_TEST_GENESETS_URL.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions man/GeMS_TEST_URL.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion man/readDefaultGenesets.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/readSigCameraResults.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions man/reexports.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions man/ribiosGSEA-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading