this is my code:
palantir.plot.plot_trajectories(subadata, pseudotime_interval=(.1, .9))
I found that no matter how I adjusted it I couldn't get the arrow in the correct position for the end cell. If you turn up the end in pseudotime_interval(,end), you get arrows ending beyond the umap plot, and if you turn it down, you get arrows ending in the center of the plot.
And there is also a problem that even though I set the terminal states, he will find another end point and I don't know how to adjust this.
this is my code:
dm_res = palantir.utils.run_diffusion_maps(abT,pca_key='X_pca_harmony', n_components=20)
ms_data = palantir.utils.determine_multiscale_space(dm_res,n_eigs=13)
pr_res = palantir.core.run_palantir(ms_data, 'R3.61,R2.16,R1.47,P1.02', num_waypoints=1500,knn=40, terminal_states=terminal_states)