Giter Site home page Giter Site logo

Data input about sctda HOT 7 CLOSED

camaralab avatar camaralab commented on May 17, 2024
Data input

from sctda.

Comments (7)

pcamara avatar pcamara commented on May 17, 2024

Hi,
You may have a look at the tutorial that accompanies scTDA. There you can look at the input files to see an example of how the input data should be formatted. If your data is not in that format, you should put it into that format before using scTDA. You may be also interested in looking at some of the files that are generated at intermediate steps, e.g. those containing normalized expression values, in case your data is already normalized.

from sctda.

kobeho24 avatar kobeho24 commented on May 17, 2024

Having a normalized gene expression matrix is exactly my case. And I have the differential expressed gene list as well. I tried to modify all my file to fit the file format in the tutorial, But I still have questions.

  1. Is there any way to disable the TPM normalization in the pre-process module? Cuz I don't fully agree with applying RPKM/FPKM/TPM on single-cell analysis.
  2. Even though I can format my file to fit scTDA, but I don't know how can I assign my DE gene list to the variable scTDA.Preprocess.which.genes, since it seems to be not shown in the variable list, can I simply do scTDA.Preprocess.which.genes = [gene list array]?

Best!

from sctda.

pcamara avatar pcamara commented on May 17, 2024

You can use your own normalization, preprocessing, and selected genes in scTDA. You must skip the Preprocess step and follow the pipeline starting on the TopologicalRepresentation step. To that end, you need to generate two tables with your normalized/preprocessed data: name_of_your_project.mapper.tsv and name_of_your_project.all.tsv. The first table is used to build the topological representation, and the second one contains the features that will be evaluated on the topological representation. You can see the format of these tables in the example of the tutorial.

from sctda.

kobeho24 avatar kobeho24 commented on May 17, 2024

For the second table you mentioned, in tutorial it has over 26k genes, it should not be the selected genes. In my case, what should I put into that particular table, only selected? And for the mapper table, I guess it should only be the expression values without row name or column name.

from sctda.

pcamara avatar pcamara commented on May 17, 2024

The second table contains all the features whose localization will be evaluated on the representation. E.g. all the genes. The first table contains only selected genes used for building the mapper representation.

from sctda.

kobeho24 avatar kobeho24 commented on May 17, 2024

In topological representation part of the tutorial, any specific reason for the choice for the number of patches and their overlap (25X25 bins w/ 40% overlap)? How should I determine the right parameter choice in my real data? I noticed that in Supp. Fig.12 it says that different parameter choices shows a large degree of consistency, but I still wonder how can I get the optimal parameters.

from sctda.

pcamara avatar pcamara commented on May 17, 2024

You could use some proxy (e.g. in a sample from a tumor, separation between normal and tumor cells).

We are developing more quantitative ways of finding optimal parameters.

from sctda.

Related Issues (9)

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.