Skip to content
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

Issue Regarding Survival Analysis #68

Closed
xianjieshen opened this issue Mar 30, 2024 · 3 comments
Closed

Issue Regarding Survival Analysis #68

xianjieshen opened this issue Mar 30, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@xianjieshen
Copy link

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

@Starlitnightly
Copy link
Owner

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
Copy link
Author

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

@Starlitnightly
Copy link
Owner

We have fixed this error in the version of 1.6.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants