Open CYorick opened 1 year ago
That's weird, I can run get_search_space and merge_cistromes, but got stuck in calculate_regions_to_genes_relationships. Thanks for your help.
Best, Yorick
Here is the description of my SCENIC+ object
SCENIC+ object with n_cells x n_genes = 940 x 23353 and n_cells x n_regions = 940 x 66831 metadata_regions:'Chromosome', 'Start', 'End', 'Width', 'cisTopic_nr_frag', 'cisTopic_log_nr_frag', 'cisTopic_nr_acc', 'cisTopic_log_nr_acc' metadata_genes:'gene_ids', 'n_cells', 'mt', 'n_cells_by_counts', 'mean_counts', 'pct_dropout_by_counts', 'total_counts' metadata_cell:'GEX_n_genes', 'GEX_n_genes_by_counts', 'GEX_total_counts', 'GEX_total_counts_mt', 'GEX_pct_counts_mt', 'GEX_cell_type', 'GEX_sample_id', 'ACC_cisTopic_nr_acc', 'ACC_cisTopic_log_nr_frag', 'ACC_cisTopic_log_nr_acc', 'ACC_cisTopic_nr_frag', 'ACC_n_genes', 'ACC_n_genes_by_counts', 'ACC_total_counts', 'ACC_total_counts_mt', 'ACC_pct_counts_mt', 'ACC_cell_type', 'ACC_sample_id' menr:'CTX_topics_otsu_All', 'CTX_topics_otsu_No_promoters', 'DEM_topics_otsu_All', 'DEM_topics_otsu_No_promoters', 'CTX_topics_top_3_All', 'CTX_topics_top_3_No_promoters', 'DEM_topics_top_3_All', 'DEM_topics_top_3_No_promoters' dr_cell:'GEX_X_pca', 'GEX_X_umap'
I finally find out that the EXP_df = scplus_obj.to_df(layer='EXP') with this gene has two columns, I am not sure why it happens, maybe we should simply choose the first column?
Hi @CYorick
This is indeed the issue..
I'm also not sure how this happened, you should go back and check wether you did not made a mistake while preprocessing the scRNA-seq data.
All the best,
Seppe
Describe the bug A clear and concise description of what the bug is.
To Reproduce
Error output Paste the entire output of the command, including log information prior to the error.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem or show the format of the input data for the command/s.
Version (please complete the following information):
Additional context Add any other context about the problem here.