Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…eurat-private into lis_vignette_updates
  • Loading branch information
zskylarli committed Nov 16, 2023
2 parents ee17666 + 41c2c5e commit 51752a5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions vignettes/de_vignette.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,7 @@ pseudo_ifnb <- AggregateExpression(ifnb, assays = "RNA", return.seurat = T, grou
# each 'cell' is a donor-condition-celltype pseudobulk profile
tail(Cells(pseudo_ifnb))
# the metadata for the pseudobulk object is missing, so we need to add it back
pseudo_ifnb$seurat_annotations <- sapply(strsplit(Cells(pseudo_ifnb), split = "_"), "[", 3)
pseudo_ifnb$donor_id <- sapply(strsplit(Cells(pseudo_ifnb), split = "_"), "[", 2)
pseudo_ifnb$stim <- sapply(strsplit(Cells(pseudo_ifnb), split = "_"), "[", 1)
pseudo_ifnb$celltype.stim <- paste(pseudo_ifnb$seurat_annotations, pseudo_ifnb$stim, sep = "_")
```

Next, we perform DE testing on the pseudobulk level for CD14 monocytes, and compare it against the previous single-cell-level DE results.
Expand Down

0 comments on commit 51752a5

Please sign in to comment.