Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The velocity1 and velocity2 values in celldancer_df are NaN #21

Open
zcaiwei opened this issue Dec 22, 2023 · 1 comment
Open

The velocity1 and velocity2 values in celldancer_df are NaN #21

zcaiwei opened this issue Dec 22, 2023 · 1 comment

Comments

@zcaiwei
Copy link

zcaiwei commented Dec 22, 2023

Hi,
When I'm running the command cellDancer_df=compute_cell_velocity(cellDancer_df=cellDancer_df, projection_neighbor_choice='gene', expression_scale='power10', projection_neighbor_size=10, speed_up=(100,100)) , I'm having the following problem:
NaN_plot
Can you tell me how to tune the parameter to avoid generating NaN values?

@Abclisy
Copy link
Member

Abclisy commented Jan 2, 2024

Hello zcaiwei, thank you for reaching out!

If you would like to have the velocity1 and velocity2 for all cells, speed_up parameter could be set to None. This will consume more time to calculate the cell velocity. This parameter is used to downsample from the existing cells for the calculation of cell velocity. If you have any other questions, please feel free to contact us!

speed_up (optional, tuple (default: (60,60))) – Speed up by giving the sampling grid to downsample cells. None if all cells are used to compute cell velocity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants