omicverse icon indicating copy to clipboard operation
omicverse copied to clipboard

Issue Regarding Survival Analysis

Open xianjieshen opened this issue 1 year ago • 2 comments

I'm encountering an issue regarding survival analysis. When I try to execute the following code:

Great to hear that you've followed the instructions to work with bulk data! If you have any further questions or encounter any issues along the way, feel free to ask for assistance. I'm here to help!

LIHC_tcga.survival_analysis('MYC', layer='deseq_normalize', plot=True, gene_threshold='median')
LIHC_tcga.adata

240331010058

xianjieshen avatar Mar 30 '24 17:03 xianjieshen

Hi,

You can set the following code before survial_analysis

from scipy import sparse
LIHC_tcga.adata.layers['deseq_normalize']=sparse.csr_matrix(LIHC_tcga.adata.layers['deseq_normalize'])

Starlitnightly avatar Apr 02 '24 06:04 Starlitnightly

image Thank you for your response! However, it seems that the problem still persists.

xianjieshen avatar Apr 03 '24 10:04 xianjieshen

We have fixed this error in the version of 1.6.4.

Starlitnightly avatar Jul 05 '24 18:07 Starlitnightly