plotTrajectory second plot colour #1844
jblich870
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Regarding plotTrajectory, the manual states:
"The second plot that is returned by plotTrajectory() is a dot plot of pseudo-time versus the value of the relevant feature, in this case, the gene score or gene expression of CEBPB. In this case, the cells are colored by their pseudo-time."
Would it be possible to add a feature that allows cells to be coloured by any metadata variable? For example one could colour cells by
Sample
, and then specify usingpal =
which colours would be assigned to each sample.I had a go looking through the source code but was unable to figure out how to modify the function to allow this. In principle it seems like it might be a straightforward thing to add?
Would be v grateful!
Many thanks,
J
Beta Was this translation helpful? Give feedback.
All reactions