Skip to content

Commit

Permalink
Merge branch 'devel' into RELEASE_3_19
Browse files Browse the repository at this point in the history
Conflicts:
	DESCRIPTION
  • Loading branch information
oganm committed Jul 10, 2024
2 parents 700974b + 5126327 commit b958582
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: gemma.R
Title: A wrapper for Gemma's Restful API to access curated gene expression data and differential expression analyses
Version: 3.0.9
Version: 3.0.10
Authors@R:
c(person(given = "Javier", family = "Castillo-Arnemann",
role = c("aut"), email = "[email protected]",
Expand Down
6 changes: 6 additions & 0 deletions R/convenience.R
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ get_dataset_object <- function(datasets,
#' get_differential_expression_values("GSE2018")
get_differential_expression_values <- function(dataset = NA_character_,
resultSets = NA_integer_,
keepNonSpecific = FALSE,
readableContrasts = FALSE,
memoised = getOption("gemma.memoised", FALSE)) {
if (is.na(dataset) == FALSE && !isEmpty(resultSets)){
Expand Down Expand Up @@ -677,6 +678,11 @@ get_differential_expression_values <- function(dataset = NA_character_,
}
warning(msg)
}

if(!keepNonSpecific){
out <- out[!(grepl("|",out$GeneSymbol,fixed = TRUE) | out$GeneSymbol == ""),]
}

if(readableContrasts){
return(processDEcontrasts(out, x))
} else{
Expand Down

0 comments on commit b958582

Please sign in to comment.