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

Deprecated function in snv_hierarchical_clustering_figure #34

Open
nhuhoa opened this issue Sep 29, 2020 · 0 comments
Open

Deprecated function in snv_hierarchical_clustering_figure #34

nhuhoa opened this issue Sep 29, 2020 · 0 comments

Comments

@nhuhoa
Copy link

nhuhoa commented Sep 29, 2020

Hi Andrew,

In the script, scgenome.snvphylo.snv_hierarchical_clustering_figure,
the clip_upper func is deprecated and throw error.
Current script:
snv_matrix['alt_counts'] = snv_matrix['alt_counts'].clip_upper(10)

Suggest change to:
snv_matrix['alt_counts'] = snv_matrix['alt_counts'].clip(upper=10)

scgenome.snvphylo.snv_hierarchical_clustering_figure(
snv_count_data, clusters,
)

Best,
Hoa Tran

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

1 participant