Giter Club home page Giter Club logo

Comments (4)

axelcournac avatar axelcournac commented on September 6, 2024

Hi Siyuan, thanks for your interest in Chromosight. The detections are established by calculating the correlation (Pearson coefficient) with a generic loop pattern.
The patterns are said to be positive detections if the computed coefficient is above a threshold (by default, we put the value 0.4 but you can change it with the option -pearson).
Then the pvalue are computed with the function corr_to_pval: given a list of Pearson correlation coefficient, the function converts them to two-sided log10 p-values. The p-values are computed via the fisher transformation described on: https://w.wiki/Ksu

link to the function: corr_to_pval
Hope it helps.

from chromosight.

frankchen121212 avatar frankchen121212 commented on September 6, 2024

Thank you for the prompt response!

To be more specific, does that mean that the Pearson coefficient is calculated by comparing the output "prefix.tsv" with the ground truth file?

Thank you again for your advice!

from chromosight.

axelcournac avatar axelcournac commented on September 6, 2024

The Pearson coefficient is computed between patches of your contact data (for example patches of 17x17 along your normalized contact map) and a generic pattern for example a loop pattern 17x17 (that we created from experimental datasets or can be generated with a gaussian 2D kernel)

Files for generic patterns of loops, borders, hairpins can be found here:
https://github.com/koszullab/chromosight/tree/master/chromosight/kernels
Best,

from chromosight.

frankchen121212 avatar frankchen121212 commented on September 6, 2024

Thank you very much for your advice!

I will close this issue.

from chromosight.

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.