Skip to content

KYCG testEnrichmentSEA function appears to give biased p-values that are stronger for positive estimates than negative ones. #203

Open
@jdreyf

Description

@jdreyf

We applied testEnrichmentSEA(z, databases = db, platform = "MM285", precise = TRUE) using sesame (v.1.24.0) for different databases where z is a vector of z-scores and found that positive estimates per DB in the output were given smaller p-values than negative estimates. So we tried testEnrichmentSEA(-1 * z, databases = db, platform = "MM285", precise = TRUE) to test the method, since I think it should be symmetric about positive vs. negative estimates. We found that the estimates did flip sign, but the p-values, instead of staying the same, were again biased toward being smaller for positive estimates. So this appears to be a bug. We looked at the code and didn't find what caused the bug, though.

I also see that the devel branch no longer has the KYCG. I wonder if the database groups will still be kept somewhere, since we can still test the DB groups with other methods, e.g. Limma's pre-ranked Camera method, which is quick because it doesn't do any permutations.

Thanks for all your work on Sesame!
JD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions