cole-trapnell-lab / monocle3

Other
318 stars 98 forks source link

Learn_graph parameters #635

Open Sayyam-Shah opened 1 year ago

Sayyam-Shah commented 1 year ago

Hello @hpliner,

Thank you for the amazing tool. I am running monocle3 on hematopoietic cells to track trajectory from the HSC. However, I noticed monocle3 did not draw branches between certain cell types (ex. LMPP to MLP), contradicting theoretical predictions. How can I manipulate the learn_graph function to "force" these branches?

kkbarratt19 commented 1 year ago

Hi Sayyam

I'm not sure if you ever found an answer to this. I suggest that you play around with the ncenter parameters to increase or decrease the complexity and number of branches in your trajectory.

e.g. learn_graph(You_Monocle3_object, use_partition = TRUE, verbose = FALSE, learn_graph_control=list(ncenter=X)) where X can be any number that you want (I've seen a lot of people use ncenter=1000 in their example codes).

The problem is that I can't find any documentation that explains what ncenter does. I was hoping to piggy-back off your post and find someone here that could answer for us both. Specifically, I'd like to know:

Fingers crossed somone can answer or direct me to the answer in the Monocle3 documentation.