clusterProfiler icon indicating copy to clipboard operation
clusterProfiler copied to clipboard

How to transform the deg gene list from seurat to a gene list input to clusterProfiler compareCluster ?

Open vagabond12 opened this issue 5 years ago • 3 comments

the deg gene list from seurat image

gene list input to clusterProfiler compareCluster

image

Thank you

vagabond12 avatar May 17 '20 08:05 vagabond12

Hey @vagabond12,

I think you may have posted this on Biostars as well.

Here is a way to do it for your reference: https://www.biostars.org/p/438566/#493549

Pancreas-Pratik avatar Feb 27 '21 00:02 Pancreas-Pratik

Hi,

I used your script to perform enrichment but it is not able to map, here is the code and error:

dfsample$0 = bitr(dfsample$0, fromType="SYMBOL", toType="ENTREZID", OrgDb="org.Hs.eg.db")

'select()' returned 1:1 mapping between keys and columns Error in bitr(dfsample$0, fromType = "SYMBOL", toType = "ENTREZID", : (converted from warning) 2% of input gene IDs are fail to map...

I appreciate your help.

Thanks, Aastha

apal6 avatar Jun 16 '23 18:06 apal6

@apal6 Setting Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true").

huerqiang avatar Jun 17 '23 07:06 huerqiang