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

Error in normalize.quantiles(dataset0) : Matrix expected in normalize.quantiles #65

Open
Qpt-r opened this issue Sep 14, 2024 · 1 comment

Comments

@Qpt-r
Copy link

Qpt-r commented Sep 14, 2024

Hi,
Thanks for developping this interesting tool.
It seems that the error:
Error in normalize.quantiles(dataset0) :
Matrix expected in normalize.quantiles

bulk_dataset <- bulk_dataset %>% mutate_all(as.numeric)
class(bulk_dataset)
[1] "data.frame"
infos1 <- Scissor_m(bulk_dataset, sc_dataset, phenotype, alpha = 0.05,

  •               family = "cox", Save_file = 'Scissor_LIHC_survival.RData')
    

Error in normalize.quantiles(dataset0) :
Matrix expected in normalize.quantiles
此外: Warning message:
In asMethod(object) :
sparse->dense coercion: allocating vector of size 2.0 GiB
Called from: normalize.quantiles(dataset0)

Could you please give some help on ow to debug it ?
Many thanks.
Qpt

@Qpt-r
Copy link
Author

Qpt-r commented Sep 14, 2024

maybe use "bulk_dataset <- as.matrix(bulk_dataset)" can solve the problem.
but the result is not good, all of the color is grey :(

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

No branches or pull requests

1 participant