Skip to content

How do you go about repositioning this arrow so that it starts and ends in the right place? #168

@ltzyl

Description

@ltzyl
Image

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.

Image Image

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions