-
Notifications
You must be signed in to change notification settings - Fork 3
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
error in running RDR module #5
Comments
Hi, And could you please show me the log of |
Thank you for your help. I get the same error when running the TNBC1 example.
P.S. I use python v3.9.2 and XClone v0.3.4 |
Hi, Could you have a try on python 3.7 and XClone v0.3.4? |
Thank you, Rongting, for your assistance in resolving the issue. It seems XClone only works with Python 3.7. I tried running it with Python 3.8.10 and 3.9.2, but encountered the same issue. I appreciate your help in pointing me in the right direction. I have two more questions before closing this issue:
|
Hi @faridrashidi, thank you for your feedback! XClone is stable in Python 3.7 (3.8 and 3.9 may cause some issues in xclone's requirement packages, we will test later).
|
Thank you very much! |
Hi, @faridrashidi, could you help to provide the |
For 3.8.10 is v1.9.2 |
Hi, @Rongtingting, could you please send me the example for finding normal and tumor cells by XClone that you mentioned here? |
Hi @faridrashidi, I am sorry for the late reply. Example import xclone
import scanpy as sc
data_dir = "xxxxxx/BCH869_scRNA_trials/"
baf_final_file = data_dir + "data/BAF_merge_Xdata_KNN_HMM_post.h5ad"
adata = sc.read(baf_final_file)
## explore the clusters numbers by UMAP visualization
xclone.al.exploreClustering(adata, ref_anno_key = "spot_anno", Xlayer = "posterior_mtx", max_clusters = 5)
## explore the BAF clustering by specify 2 clusters
adata_anno = xclone.al.OnestopBAFClustering(adata, Xlayer = "posterior_mtx",
n_clusters = 2, ref_anno_key = "spot_anno", clone_anno_key = "clone(2)",
plot_title = "xxxx (XClone)",
file_save_path = "xxxx/analysis/", file_save_name = "xxx_2clones", complex_plot = True)
## Similarly, explore the BAF clustering by specify 3 clusters
adata_anno = xclone.al.OnestopBAFClustering(adata, Xlayer = "posterior_mtx",
n_clusters = 3, ref_anno_key = "spot_anno", clone_anno_key = "clone(3)",
plot_title = "xxxx (XClone)",
file_save_path = "xxxx/analysis/", file_save_name = "xxx_3clones", complex_plot = True) Bests, |
Hi,
I'm trying to run XClone RDR module following scripts at here on a dataset but I get the following error:
Could you please help me what I should do to resolve this issue?
The text was updated successfully, but these errors were encountered: