<p>Not sure if it helps, but there's a tutorial for how to switch between Seurat and monocle <a href="https://satijalab.org/signac/articles/monocle.html" rel="nofollow noreferrer">here</a>. The basic approach is to convert it to a <code>cell_data_set</code> object, then process that object with monocle:</p>
<pre><code>erythroid.cds &lt;- as.cell_data_set(erythroid)
erythroid.cds &lt;- cluster_cells(cds = erythroid.cds, reduction_method = &quot;UMAP&quot;)
erythroid.cds &lt;- learn_graph(erythroid.cds, use_partition = TRUE)
</code></pre>
<p>Pseudotime values can be returned back to the seurat object after processing with monocle via AddMetaData:</p>
<pre><code>erythroid &lt;- AddMetaData(
  object = erythroid,
  metadata = erythroid.cds@principal_graph_aux@listData<span class="math-container">$UMAP$</span>pseudotime,
  col.name = &quot;monocle_pseudotime&quot;
)
</code></pre>
<blockquote>
<p>Thank you for your reply. So I need to do the code you sent from erythroid.cds &lt;- as.cell_data_set(erythroid) ...to ...col.name = &quot;monocle_pseudotime&quot;), then use the findmarker function of Seurat to find the differential expressed genes? It's that correct?</p>
</blockquote>
<p>It's unclear what you're asking, but what you describe here will produce a list of differentially expressed genes based on the cluster definitions of monocle. As far as I'm aware, these clusters don't depend on the pseudotime values.</p>

CC BY-SA 4.0
2021-09-30T21:47:52.520Z
2021-10-01T20:26:50.100Z
2021-10-01T20:26:50.100Z
gringer
<p><a href="https://i.sstatic.net/vr0D4.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/vr0D4.jpg" alt="enter image description here" /></a></p>
<p>Did anyone know how to find the differential expressed genes within pseudotime trajectory with Seurat cluster? In monocle tutorial, we can use BEAM to find the differential expressed genes between the two branches even with the states difference. But how can I find the differential expressed genes with seurat culster enven with the genotype diffence? Thank you so much!</p>

<single-cell><monocle>
How to find differential expressed genes within pseudotime trajectory with Seurat cluster?
# How to find differential expressed genes within pseudotime trajectory with Seurat cluster?

(Asked by: username_0 on 2021-09-30)

[![enter image description here](https://i.sstatic.net/vr0D4.jpg)](https://i.sstatic.net/vr0D4.jpg)

Did anyone know how to find the differential expressed genes within pseudotime trajectory with Seurat cluster? In monocle tutorial, we can use BEAM to find the differential expressed genes between the two branches even with the states difference. But how can I find the differential expressed genes with seurat culster enven with the genotype diffence? Thank you so much!

**Tags:** single-cell, monocle

---

## 1 answers

### Answer by username_1 on 2021-09-30. Score: 0

Not sure if it helps, but there's a tutorial for how to switch between Seurat and monocle here. The basic approach is to convert it to a cell_data_set object, then process that object with monocle:
erythroid.cds <- as.cell_data_set(erythroid)
erythroid.cds <- cluster_cells(cds = erythroid.cds, reduction_method = "UMAP")
erythroid.cds <- learn_graph(erythroid.cds, use_partition = TRUE)

Pseudotime values can be returned back to the seurat object after processing with monocle via AddMetaData:
erythroid <- AddMetaData(
  object = erythroid,
  metadata = erythroid.cds@principal_graph_aux@listData$UMAP$pseudotime,
  col.name = "monocle_pseudotime"
)


Thank you for your reply. So I need to do the code you sent from erythroid.cds <- as.cell_data_set(erythroid) ...to ...col.name = "monocle_pseudotime"), then use the findmarker function of Seurat to find the differential expressed genes? It's that correct?

It's unclear what you're asking, but what you describe here will produce a list of differentially expressed genes based on the cluster definitions of monocle. As far as I'm aware, these clusters don't depend on the pseudotime values.


---

