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

make fa2_modified work with scanpy #2

Closed
wfaalajr opened this issue Aug 10, 2024 · 3 comments
Closed

make fa2_modified work with scanpy #2

wfaalajr opened this issue Aug 10, 2024 · 3 comments
Labels
question Further information is requested

Comments

@wfaalajr
Copy link

Hi! Thanks for making this modified version. I was able to successfully install this version, but when I try using it in scanpy, i.e.:

adata = sc.read_h5ad("myadata.h5ad")
sc.pp.filter_genes(adata, min_cells=10)
scv.pp.normalize_per_cell(adata)
sc.pp.log1p(adata)
sc.pp.highly_variable_genes(adata)
sc.pp.neighbors(adata)
sc.tl.draw_graph(adata)

scanpy does not detect this version and throws out this message:

WARNING: Package 'fa2' is not installed, falling back to layout 'fr'.To use the faster and better ForceAtlas2 layout, install package 'fa2' (pip install fa2).

I am on python3.11.

Any recommendations from your end would be really awesome :)

@n-elie
Copy link

n-elie commented Aug 31, 2024

Hi, would be better to report this upstream.
It seems that this subject has already been discussed here

@AminAlam
Copy link
Owner

AminAlam commented Sep 1, 2024

@wfaalajr I've made this PR to fix the problem you mentioned in Scapy by using fa2_modified instead of fa2.

@AminAlam
Copy link
Owner

I'll close this issue as scverse/scanpy#3220 is closed now

@AminAlam AminAlam added the question Further information is requested label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants