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

Update Scissor.R with 'data' Layer for Seurat V5 #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yifanfu01
Copy link

@yifanfu01 yifanfu01 commented May 10, 2024

Hi sunduanchen,
Due to the upgrade of Seurat, the way to get data matrix has changed.
Guys met error:

infos1 <- Scissor(bulk_dataset, sc_dataset, phenotype, alpha = 0.05, family = "cox", Save_file = 'Scissor_LUAD_survival.RData')
Error in as.matrix(sc_dataset@assays$RNA@data) :
no slot of name"data" for this object of class "Assay5"

as mentioned in #59
Here, I fixed the problem and hope it will help.

@yifanfu01 yifanfu01 changed the title Update Scissor.R with 'data' Layer Update Scissor.R with 'data' Layer for Seurat V5 May 10, 2024
@sunduanchen
Copy link
Owner

sunduanchen commented May 11, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants