Skip to content

ODP instability #24

Description

@Arthfael

I have recently added both the LRT and ODP tests to the statistics which I routinely run for my proteomics workflow, however whilst the LRT is not problematic, the OPD often fails with:

Error in kl(temp.center.fitFull, temp.fitFull, center.var, sigma2, n = n) : 
  NA/NaN/Inf in foreign function call (arg 1)

which seems to be related to how it calls the kl function from package dependency splines.

Adding lambda = 0 to the arguments of the edge::odp() call (based on this link ) does help sometimes, but not always.

Disclaimer: I do filter my data before feeding it to the functions (keeping currently only rows with 2+ valid values per group. But I tend to deal with few replicates (3-5 usually), this might be the problem.
I am happy to provide an example dataset if that helps. Normally I would try to investigate deeper into the function's code, but I am unfamiliar with how to access code for standardGeneric functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions