Replies: 1 comment
-
Hi @bitcometz I guess we missed it in the tutorial. You can generate it like this (following this tutorial https://pycistopic.readthedocs.io/en/latest/Single_sample_workflow-RTD.html) # Prepare ATAC
import pickle
infile = open(outDir + 'DAGs/Gene_activity.pkl', 'rb') #Here I am using pycisTopic gene activity matrix, but could be any :)
gene_act = pickle.load(infile)
infile.close()
atac_anndata = anndata.AnnData(X=gene_act) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hello, thanks for this great tool !!!
I try to learn this tool by the toturial.
However, I cannot run this step, since the var "atac_anndata" only appear once:
Could you please tell how to define it ?
Thanks !!!!
Beta Was this translation helpful? Give feedback.
All reactions