clusterProfiler
clusterProfiler copied to clipboard
Question about universal enricherment tool, enricher
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.
-
input "gene id": filter.loci_df
-
mapping file: disease_mapping
-
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.
Solved.