Giter VIP home page Giter VIP logo

Comments (3)

asenabouth avatar asenabouth commented on June 8, 2024

Hi @lixin4306ren ,

The TSNE function runs a lot faster if you run it on PCA data instead of the expression data. This reduces the number of dimensions down to the number of genes.

If you wish to use TSNE directly on your expression data, you can extract the normalised counts using the normcounts or logcounts functions for use directly with the Rtsne function from the Rtsne package. You can leverage more cores and use the partial_pca argument with this function, that should hopefully speed up the processing time. You can then store it back into the EMSet using the reducedDim function.

from ascend.

lixin4306ren avatar lixin4306ren commented on June 8, 2024

Thank you for your prompt reply!
Is there any significant difference between tsne results generated directly from the expression matrix and that based on PCA data? Thanks.

from ascend.

asenabouth avatar asenabouth commented on June 8, 2024

The results will look different, as that's the nature of TSNE. Here's a comparison of a TSNE generated from PCA-reduced values:
pca_tsne_plot

And directly from expression data:
exprs_tsne_plot

from ascend.

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.