You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For AlexsLemonade/OpenScPCA-nf#108, we are working towards offering Seurat-ified processed ScPCA files as part of OpenScPCA results.
In this hello-clusters notebook, we convert an SCE to Seurat using rOpenScPCA. We might consider just reading in the Seurat file version directly, although this would mean there's an additional dependency to download those results files in this module. I'm opening this issue to both a) decide if we want to read in from results, and if so b) update notebook accordingly.
To demonstrate this, we'll convert our SCE object to a Seurat using the function `rOpenScPCA::sce_to_seurat()`.
Then, we'll use a simple Seurat pipeline to obtain clusters.
<!-- TODO: We will want to reference this module for further documentation on this function: https://github.com/AlexsLemonade/OpenScPCA-analysis/issues/945 -->
```{r sce to seurat, message = FALSE}
# Convert the SCE to a Seurat object using rOpenScPCA
seurat_obj <- rOpenScPCA::sce_to_seurat(sce)
# Calculate clusters with Seurat using a standard Seurat pipeline, for example
seurat_obj <- seurat_obj |>
SCTransform() |>
RunPCA() |>
FindNeighbors() |>
FindClusters()
seurat_obj
```
The text was updated successfully, but these errors were encountered:
Thinking about this fresh, I think we should leave this as is and keep the sce -> seurat conversion in the notebook. This is because reading in the Seurat file would require users to download the Seurat object results before being able to run the notebook, which seems like an unnecessary (and not obvious or frankly even relevant) extra step to have to take.
For AlexsLemonade/OpenScPCA-nf#108, we are working towards offering Seurat-ified processed ScPCA files as part of OpenScPCA results.
In this
hello-clusters
notebook, we convert an SCE to Seurat usingrOpenScPCA
. We might consider just reading in the Seurat file version directly, although this would mean there's an additional dependency to download those results files in this module. I'm opening this issue to both a) decide if we want to read in from results, and if so b) update notebook accordingly.OpenScPCA-analysis/analyses/hello-clusters/01_perform-evaluate-clustering.Rmd
Lines 332 to 348 in 77b6f77
The text was updated successfully, but these errors were encountered: