From 1e26e67b48b2d93a1885d6d68ff2be3e604ff557 Mon Sep 17 00:00:00 2001 From: tetomonti Date: Fri, 20 Oct 2023 11:42:37 -0400 Subject: [PATCH] hits list modified to have space-comma-space as separator (it is now simply comma, which is often ambiguous) --- R/hyper_enrichment.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/hyper_enrichment.R b/R/hyper_enrichment.R index 87fcfce..cc33cc0 100644 --- a/R/hyper_enrichment.R +++ b/R/hyper_enrichment.R @@ -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