wu-yc / scMetabolism

Quantifying metabolism activity at the single-cell resolution
BSD 3-Clause "New" or "Revised" License
95 stars 37 forks source link

Error: as(, "dgeMatrix") is deprecated since Matrix 1.5-0; do as(as(as(., "dMatrix"), "generalMatrix"), "unpackedMatrix") instead #18

Open XuenaXie opened 1 year ago

XuenaXie commented 1 year ago

Hi, I am analyzing my data according to the sample code and an error occurs, but the same code did not encounter problems before, how can I solve this error? thanks!!

Evaluating signature scores on cells...

Error: as(, "dgeMatrix") is deprecated since Matrix 1.5-0; do as(as(as(., "dMatrix"), "generalMatrix"), "unpackedMatrix") instead

XuenaXie commented 1 year ago

Hello, although there is no previous error when running the code, there seems to be a new error. How can I solve it? Thank you for your help!

Error in [<-.data.frame(*tmp*, , 2, value = 0) : replacement has 1 row, data has 0 In addition: Warning message: In readSignaturesInput(signatures) : NAs introduced by coercion

kangminchao commented 1 year ago

Hi, I am analyzing my data according to the sample code and an error occurs, but the same code did not encounter problems before, how can I solve this error? thanks!!

Evaluating signature scores on cells...

Error: as(, "dgeMatrix") is deprecated since Matrix 1.5-0; do as(as(as(., "dMatrix"), "generalMatrix"), "unpackedMatrix") instead

How do you fix it?I got into the same erro...

wang0430 commented 1 year ago

Hi, I am analyzing my data according to the sample code and an error occurs, but the same code did not encounter problems before, how can I solve this error? thanks!!

Evaluating signature scores on cells...

Error: as(, "dgeMatrix") is deprecated since Matrix 1.5-0; do as(as(as(., "dMatrix"), "generalMatrix"), "unpackedMatrix") instead

paolabc commented 8 months ago

14