clusterProfiler icon indicating copy to clipboard operation
clusterProfiler copied to clipboard

Question about universal enricherment tool, enricher

Open Youpu-Chen opened this issue 2 years ago • 1 comments

Prerequisites

platform       x86_64-w64-mingw32               
arch           x86_64                           
os             mingw32                          
crt            ucrt                             
system         x86_64, mingw32                  
status                                          
major          4                                
minor          2.1                              
year           2022                             
month          06                               
day            23                               
svn rev        82513                            
language       R                                
version.string R version 4.2.1 (2022-06-23 ucrt)
nickname       Funny-Looking Kid

Describe your issue

I read some tutorials, some of them were not official, and I think this enricher() function could be applied to user-specified enrichment analysis. But some issue continued to pop out, below is my screenshot.

  1. input "gene id": filter.loci_df image

  2. mapping file: disease_mapping image

  3. code

x <- enricher(as.vector(filter.loci_df[, c("gene_id")]), 
              TERM2GENE = disease_mapping[, c("Disease_id", "gene_id")], 
              TERM2NAME = disease_mapping[, c("Disease_id", "Disease_term")])

If you could give me a hint, I'll really appreciate it.

Youpu-Chen avatar May 12 '23 08:05 Youpu-Chen

Solved.

Youpu-Chen avatar May 12 '23 12:05 Youpu-Chen