Giter Club home page Giter Club logo

Comments (2)

kaozkai avatar kaozkai commented on June 8, 2024

Hey Simo,

as far as I understand by now, there are two options affected by the V-gene information, one only used by Gliph1/turboGliph and one used by both Gliph1 and Gliph2.

Gliph1 offers the "vgene_stratify" option, to sample from the example database stratified by V-gene frequency distribution of the input data.

Both Gliph1 and Gliph2 use the "global_vgene" option to restrict global relationships to TCRs of common V-genes.

Furthermore, Gliph1 and Gliph2 seem to use V-gene information for the scoring part as "v_usage_freq".

I don't know yet how much this "v_usage_freq" affects the scoring; maybe we should keep it as optional input until we are sure about it's importance?

from clustirr.

snaketron avatar snaketron commented on June 8, 2024

@kaozkai

Gliph1 offers the "vgene_stratify" option, to sample from the example database stratified by V-gene frequency distribution of the input data.
Both Gliph1 and Gliph2 use the "global_vgene" option to restrict global relationships to TCRs of common V-genes.

Exactly! Both of these functionalities are disabled by default. Hence we can ignore them for the moment in terms of the main gliph algorithm (the clustering part).

Furthermore, Gliph1 and Gliph2 seem to use V-gene information for the scoring part as "v_usage_freq".
I don't know yet how much this "v_usage_freq" affects the scoring; maybe we should keep it as optional input until we are sure about it's importance?

This is the key use of V or J genes - to find out if clusters are enriched with a specific type of V or J gene.

To avoid this problem I have split in two functions: 1) clustering and 2) scoring. For gliph (the clustering part) we only need CDR3s. This makes the gliph function simple and easy to use. The scoring function (incomplete) should be very versatile. It should be able to accept as input any vector of attributes (numeric or categorical) for each cell (TCR) contained as row in the original data_sample, and to compute enrichment scores based on the attribute.

from clustirr.

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.