Skip to content

May I ask, what does this error mean? That gene is in my data.  #20

@qzhangit

Description

@qzhangit

May I ask, what does this error mean? That gene is in my data.

Loading Expression.
Indexing expression.
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 12829666/12829666 [00:13<00:00, 918456.29it/s]
Finished.


Loading Dataset.


Getting gene pairs combinations.
Traceback (most recent call last):
File "GeneEmbedding.py", line 16, in
cmps = GeneVector(dataset,
File "/mnt/dat1/wit/qzhang/anaconda3/envs/Model/lib/python3.8/site-packages/genevector/model.py", line 57, in init
self.dataset.create_inputs_outputs(c=c)
File "/mnt/dat1/wit/qzhang/anaconda3/envs/Model/lib/python3.8/site-packages/genevector/data.py", line 272, in create_inputs_outputs
self.generate_mi_scores()
File "/mnt/dat1/wit/qzhang/anaconda3/envs/Model/lib/python3.8/site-packages/genevector/data.py", line 175, in generate_mi_scores
if maxs[gene.upper()] > 1:
KeyError: 'P4HA1'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions