Git Product home page Git Product logo

Comments (1)

tetomonti avatar tetomonti commented on August 16, 2024 1

Anthony, I created a 'dev' branch and edited the ks_enrichment.R file to add "leading edge" functionalities. In particular,

  • the .ks_test function now returns two extra parameters: leading_edge and leading_hits, with the latter a vector of positions of the hits ≤ the leading edge.
  • the ks plot now includes a red dashed vertical line at the leading_edge x-coordinate.
  • in the .ks_enrichment function, the data table has been modified: the column 'hits' now reports the list of "genes" in the leading_hits; and the column overlap now reports the number of genes in the leading edge (instead of the size of the entire set as before). Also, the function returns an extra argument, leading_hits, a character vector of the genes in the leading edge. Right now, this is ignored by the calling function (hypeR), but perhaps worth "propagating" it up, should the user need to access that info.

I have done some perfunctory testing of those functions, and they seem to work fine. Up to you if/when to merge them to the main branch.

from hyper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.