Skip to content

Version issue Matrix package (v1.5-1) #61

@basielcole

Description

@basielcole

Hi developers, I tried running the DiffusionMap() function on the "guo" dummy dataset:

data(guo)
dm_guo <- DiffusionMap(guo)

However, this throws the following error:

Error: as(, "dsTMatrix") is deprecated since Matrix 1.5-0; do as(., "TsparseMatrix") instead

Traceback is as follows:

  1. warning.(gettextf("as(<%s>, "%s") is deprecated since Matrix 1.5-0; do %s instead", cln1, cln2, deparse1(.as.via.virtual(Class1, Class2, quote(.)))), call. = FALSE, domain = NA)
  2. Matrix.DeprecatedCoerce(cd1, cd2)
  3. asMethod(object)
  4. as(d2, "dsTMatrix")
  5. no_censoring(dists, sigma, cb)
  6. verbose_timing(verbose, "Calculating transition probabilities", { if (censor) censoring(imputed_data, sigma, dists, censor_val, ...
  7. transition_probabilities(imputed_data, sigma, knn$dist_mat, censor, censor_val, censor_range, missing_range, verbose)
  8. DiffusionMap(guo)

This seems to be an issue with the latest version of the Matrix package, version 1.5-1.

Any idea how I could solve this issue?

Thanks in advance,

Basiel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions