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

setup the model function warning (setup_model_MegaLMM function) #9

Open
Yansen0515 opened this issue Mar 10, 2023 · 4 comments
Open

Comments

@Yansen0515
Copy link

Hi,
I got a warning (please check below) when I run the "setup_model_MegaLMM function".

"Message d'avis :
as(<matrix>, "lgTMatrix") is deprecated since Matrix 1.5-0; do as(as(as(., "lMatrix"), "generalMatrix"), "TsparseMatrix") instead "

Do you think it will make problems for the following work? I met a problem in the "initialize_MegaLMM(MegaLMM_state) " function.

r in (function (cond):
   error evaluating argument 'x' when selecting a method for function 't': Need S4 class dgCMatrix for a mapped sparse matrix

If you know how to solve this problem, please let me know.

Kind regards,
Yansen

@deruncie
Copy link
Owner

deruncie commented Mar 10, 2023 via email

@Yansen0515
Copy link
Author

Hello,

I update the MegaLMM package.
Then, I still have the first warning, however, the second error from "initialize_MegaLMM" disappeared.
Thank you for your help.

Kind regards,
Yansen

@deruncie
Copy link
Owner

deruncie commented Mar 14, 2023 via email

@Yansen0515
Copy link
Author

Hi,

Yes. It is exactly the same as before.
And I use the same code and data as before (just update he package this time).

Message d'avis :
as(<matrix>, "lgTMatrix") is deprecated since Matrix 1.5-0; do as(as(as(., "lMatrix"), "generalMatrix"), "TsparseMatrix") instead 

Kind regards,
Yansen

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

2 participants