Last active
March 9, 2019 16:57
-
-
Save FloWuenne/5f881d7f4f1f05e205c64a2d05b68ff7 to your computer and use it in GitHub Desktop.
Creating quick SCE object from Seurat expression data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(scater) | |
## Create new SCE object from the seurat expression object | |
fData <- new("AnnotatedDataFrame", data = [email protected]) | |
seurat_scater_sce <- newSCESet(exprsData = as.matrix(expression_seurat@data), phenoData = fData, | |
lowerDetectionLimit=0.0, | |
logExprsOffset=1) | |
seurat_scater_sce <- calculateQCMetrics(seurat_scater_sce) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment