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

documentation of python interface #51

Open
bernstei opened this issue Aug 27, 2020 · 4 comments
Open

documentation of python interface #51

bernstei opened this issue Aug 27, 2020 · 4 comments

Comments

@bernstei
Copy link
Collaborator

It would be great if the python interface had some documentation (as opposed to just the command line)

@BingqingCheng
Copy link
Owner

Hi. Yes I'm working on the documentation. The python package itself is quite well-documented (https://bingqingcheng.github.io/modules.html), and in the near future I'll add some examples on how to import the functionalities of asaplib

@bernstei
Copy link
Collaborator Author

bernstei commented Aug 28, 2020

Thanks - that's a good start. I'm trying to figure out how to do the multiple maps on the same axes from issue #52 (or at least same PCA vectors), and the asaplib howto seems like it's pointing me in a useful direction. However, my best guess is that I have to replace the dreducer.fit_transform with fit for the entire design matrix, then transform and plot for each subset. I'll can try to see if that's enough, and ask for more specific docs here if it's not.

@BingqingCheng
Copy link
Owner

The asaplib.reducedim.dim_reducer module can already do what you want (reduce_dim using one set of data, and project anything else). What needs to be modified is the asaplib.plot.plotters class: for now it plots everything on one plot, and one can extend it to give the option to do subplots.

@BingqingCheng
Copy link
Owner

BTW, I'm refining the documentation. If you have any suggestions pls let me know!

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