Issue Regarding Survival Analysis
Opened this issue · 2 comments
xianjieshen commented
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
Starlitnightly commented
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'])
xianjieshen commented