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 authored and Andrew Chen committed Oct 20, 2023
1 parent dfcd960 commit 66c2d2f
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 66c2d2f

Please sign in to comment.