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

possibility for directing intermediate files from cluster to a specified directory such as tmp #20

Open
matt-sd-watson opened this issue Dec 19, 2023 · 0 comments

Comments

@matt-sd-watson
Copy link

I an looking into integrating phenograph into a web-based Flask app that writes temporary caches in a specified directory. I noticed that when calling the cluster function from phenograph:

communities, graph, Q = phenograph.cluster(pd.DataFrame(adata.obsm['X_pca']),k=k) # run PhenoGraph

Several intermediate files are written in the current working directory:

Screenshot from 2023-12-19 10-48-52

Is it possible to direct phenograph to write these files in a tmp directory? For the purposes of the application, it is not desirable to have the tmp files written where the application source code is hosted.

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