Skip to content

Commit

Permalink
hits list modified to have space-comma-space as separator (it is now …
Browse files Browse the repository at this point in the history
…simply comma, which is often ambiguous)
  • Loading branch information
tetomonti committed Oct 20, 2023
1 parent 96cc90e commit 1e26e67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/hyper_enrichment.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
geneset=n.genesets,
overlap=n.hits,
background=background,
hits=sapply(genesets, function(x, y) paste(intersect(x, y), collapse=','), signature.found),
#hits=sapply(genesets, function(x, y) paste(intersect(x, y), collapse=','), signature.found),
hits=sapply(genesets, function(x, y) paste(intersect(x, y), collapse=' , '), signature.found),
stringsAsFactors=FALSE)

# Handle plots
Expand Down

0 comments on commit 1e26e67

Please sign in to comment.