Git Product home page Git Product logo

Comments (5)

rkhetani avatar rkhetani commented on August 15, 2024

Images obtained in class were not the same as the ones in the lesson.

from scrna-seq.

rkhetani avatar rkhetani commented on August 15, 2024

Update tables too.

from scrna-seq.

mistrm82 avatar mistrm82 commented on August 15, 2024

The problem here is due to the normalizing. Assigning the default assay to "RNA" does not undo the normalization that happens in clustering QC.

# Select the RNA counts slot to be the default assay
DefaultAssay(seurat_integrated) <- "RNA"

# Normalize RNA data for visualization purposes
seurat_integrated <- NormalizeData(seurat_integrated, verbose = FALSE)

Material figures and tables were generated using the "RNA" slot (counts), in class it was normalized data

from scrna-seq.

mistrm82 avatar mistrm82 commented on August 15, 2024

Solution:

Run the FindMarkers with the counts. Run the visualization with the counts(?)

https://github.com/satijalab/seurat/wiki/Assay

from scrna-seq.

marypiper avatar marypiper commented on August 15, 2024

I updated the images, but I haven't updated tables - I am unsure why they would need to be updated. Asking Jihe to run through and see whether the tables need to be updated.

Also, we can specify whether to use raw counts or normalized with the following code:


RNA_raw_assay <- seurat_integrated@assays$RNA@counts

seurat_integrated[['RNA_raw']] <- CreateAssayObject(counts = RNA_raw_assay)

RNA_norm_assay <- seurat_integrated@assays$RNA@data

seurat_integrated[['RNA_norm']] <- CreateAssayObject(counts = RNA_norm_assay)

DefaultAssay(seurat_integrated) <- "RNA_norm"

from scrna-seq.

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.