Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Accessing raw data after normalization #28

Open
marypiper opened this issue Feb 25, 2020 · 0 comments
Open

Accessing raw data after normalization #28

marypiper opened this issue Feb 25, 2020 · 0 comments
Assignees

Comments

@marypiper
Copy link
Contributor

marypiper commented Feb 25, 2020

we should add a markdown? or some text about how we can specify whether to use raw counts or normalized. The following code will allow us to extract the raw counts after normalization:

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"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants