theislab / destiny

R package for single cell and other data analysis using diffusion maps
https://theislab.github.io/destiny/
GNU General Public License v3.0
77 stars 11 forks source link

density::DiffusionMap,Error: (converted from warning) 'as(<dsCMatrix>, "dsTMatrix")' #67

Closed younng367 closed 2 weeks ago

younng367 commented 5 months ago

When i use density::DiffusionMap(x,),it always pop erro. "Error: (converted from warning) 'as(, "dsTMatrix")' is deprecated. Use 'as(., "TsparseMatrix")' instead. See help("Deprecated") and help("Matrix-deprecated")." Evene i installed the developed vesion,cause i earlier thought that it might be my version problem!!!!!!

danakrs commented 2 weeks ago

When i use density::DiffusionMap(x,),it always pop erro. "Error: (converted from warning) 'as(, "dsTMatrix")' is deprecated. Use 'as(., "TsparseMatrix")' instead. See help("Deprecated") and help("Matrix-deprecated")." Evene i installed the developed vesion,cause i earlier thought that it might be my version problem!!!!!!

I have the same error - any update on this one?

flying-sheep commented 2 weeks ago

You have set options(warn=2) to convert errors to warnings. So stop doing that. (options(warn=0) is the default)

The upcoming version has it fixed, too!