NathanSkene / EWCE

Expression Weighted Celltype Enrichment. See the package website for up-to-date instructions on usage.
https://nathanskene.github.io/EWCE/index.html
54 stars 25 forks source link

bootstrap.enrichment.test returns error about cantrecognize gene #1

Closed WeiCSong closed 5 years ago

WeiCSong commented 6 years ago

HI EWCE developer,i used EWCE to analyse my data: full_results = bootstrap.enrichment.test(sct_data=merged_KI,hits=list,bg=bg,sctSpecies = "human", genelistSpecies = "human",reps=10000,annotLevel=1) and i got error:

ERROR: At least four genes which are present in the single cell dataset & background gene set are required to test for enrichment But i dont think this is true for me: length(intersect(rownames(merged_KI$exp),bg))

10622 So I cant understand what this error actually means.Wish to get help from you.Thanks!

NathanSkene commented 5 years ago

Hi,

This is a very late response, but the input to bootstrap.enrichment.test should have the same format as the ctd used in the tutorial.