Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty DataFrame Columns: [(Enrichment, AUC), (Enrichment, NES), (Enrichment, MotifSimilarityQvalue), (Enrichment, OrthologousIdentity), (Enrichment, Annotation), (Enrichment, Context), (Enrichment, TargetGenes), (Enrichment, RankAtMax)] #603

Open
juhi-ku opened this issue Feb 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@juhi-ku
Copy link

juhi-ku commented Feb 13, 2025

df = prune2df(dbs, modules, MOTIF_ANNOTATIONS_FNAME)
>>> df.head()
Empty DataFrame
Columns: [(Enrichment, AUC), (Enrichment, NES), (Enrichment, MotifSimilarityQvalue), (Enrichment, OrthologousIdentity), (Enrichment, Annotation), (Enrichment, Context), (Enrichment, TargetGenes), (Enrichment, RankAtMax)]

I am trying to run prune2df and it says Empty Dataframe. I am not sure why this is an issue because I will also attach the adjacencies file and feather file. They ran successfully but not sure why this is creating an issue. Can anyone or from the team please help. Thanks in advance!

 adjacencies.head()
                    TF              target  importance
0   ENSNFUG00015002632  ENSNFUG00015005008    8.149761
20  ENSNFUG00015006857  ENSNFUG00015011986    7.849644
36  ENSNFUG00015019023  ENSNFUG00015011821    6.762028
37  ENSNFUG00015015883  ENSNFUG00015016770    5.719797
38  ENSNFUG00015015823  ENSNFUG00015001811    5.695516
pd.read_feather( "nfurzeri_gene_ensembl_20kb_up_and_down.genes_vs_motifs.rankings.feather")
       ENSNFUG00015000007  ENSNFUG00015000011  ENSNFUG00015000017  ENSNFUG00015000020  ...  ENSNFUG00015025474  ENSNFUG00015025475  ENSNFUG00015025476                  motifs
0                   18034               18021               18026               18020  ...                3750                6959                6966           bergman__Adf1
1                   21240               21251               21245               21233  ...                1144               10930               10556           bergman__Aef1
2                   16105               16098               16097               16099  ...                9395               17951               18012           bergman__Hr46
3                   18763               18705               18833               18700  ...               13085               12357               12391             bergman__Kr
4                    4541                4538                4540                4566  ...               14013                3084                3875          bergman__Su_H_
...                   ...                 ...                 ...                 ...  ...                 ...                 ...                 ...                     ...
10244               10090               10081               10024               10029  ...               22127                5744                5699  yetfasco__YPR008W_1425
10245               22139               22147               22158               22138  ...                1731               13490               13519  yetfasco__YPR009W_2236
10246               17242               17194               17186               17235  ...                1735                5669                5694  yetfasco__YPR054W_1875
10247               22070               22058               22037               22036  ...               15056                5447                5437  yetfasco__YPR065W_1396
10248                2971                2969                2963                2964  ...                7662               16860               17133  yetfasco__YPR086W_1327

[10249 rows x 23422 columns]
@juhi-ku juhi-ku added the bug Something isn't working label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant