Skip to content

Instantly share code, notes, and snippets.

@FloWuenne
Last active March 9, 2019 16:57
Show Gist options
  • Save FloWuenne/5f881d7f4f1f05e205c64a2d05b68ff7 to your computer and use it in GitHub Desktop.
Save FloWuenne/5f881d7f4f1f05e205c64a2d05b68ff7 to your computer and use it in GitHub Desktop.
Creating quick SCE object from Seurat expression data
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