chengfgao / TopicVelo

TopicVelo: Dissection and Integration of Bursty Transcriptional Dynamics for Complex Systems
BSD 3-Clause "New" or "Revised" License
19 stars 2 forks source link

Saving AnnDatas after TopicVelo analysis #4

Open hdanderson opened 7 months ago

hdanderson commented 7 months ago

The post-TopicVelo AnnData object can't be saved using standard AnnData saving functions because adata.uns['top_genes'] is a list of lists, which is not a data type supported by them. I can work around this by deleting the component causing issues (i.e., del adata.uns['top_genes']), but this is not ideal.