Giter Club home page Giter Club logo

Comments (3)

grst avatar grst commented on September 1, 2024

batch effect correction only applies to the low-dimensional embedding (adata.obsm["X_scANVI"]) and whatever is derived from it (e.g. neighborhood graph, UMAP).

For all downstream analyses, we accounted for batch effects independently by including covariates in the linear models used for comparison.

from luca.

zhangnan0107 avatar zhangnan0107 commented on September 1, 2024

Thanks for your reply! I might have 2 follow-up questions about the expression counts in cellxgene data:

  1. there are three layers - X, which looks like normalized data, layer count and counts_length_scaled. Not sure if I understood this correctly, count is the raw count from original studies, counts_length_scaled is scaled count for only Smart-seq2 platform data (so raw counts was kept for other platforms?), and may I ask which normalization method is used for X?

  2. regarding batch effects, I think it can be added as cofactor in analysis like differential expression. I wonder for the dotplot of marker genes for cell-type annotation like in figure s1, did you also account batch effects in someway, or this is actually based on non-correction counts?

Thanks

from luca.

grst avatar grst commented on September 1, 2024
  1. All you say is correct, X is simply scanpy.pp.normalize_total followed by scanpy.pp.log1p on the length-scaled counts

  2. the dotplots showning the cell-type markers were not adjusted for batch effects (we are also not trying to make any quantitative claims here)

from luca.

Related Issues (10)

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.