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

How should non-model species be analyzed? #20

Open
zhangpan-2018 opened this issue Nov 6, 2024 · 1 comment
Open

How should non-model species be analyzed? #20

zhangpan-2018 opened this issue Nov 6, 2024 · 1 comment

Comments

@zhangpan-2018
Copy link

Your software is very helpful. if it is a non-model species and the library has already been rebuilt for CellChat analysis, do you need to rebuild the library again for FlowSight analysis? How should I proceed with the analysis?

@axelalmet
Copy link
Owner

Hi zhangpan-2018,

Firstly, I am so sorry about taking so long to reply to your question. You bring up an excellent question. There's a couple of ways you could go about this:

If you're using CellChat, the only step of the FlowSig analysis that you'd need to modify for a non-human/mouse organism is construct_inflow_signals_cellchat, because I had used OmniPath to infer potential downstream TFs activated by the ligand-receptor interactions listed by CellChat. If you have such a modified CellChat interactions list, you can use that directly to construct the potential inflow variables. In that case, I should modify FlowSig so that you can specify this database directly, e.g., as a Pandas dataframe, as an optional argument.

Otherwise, I think you would need to create a custom function that does everything construct_flows_from_cellchat does (see here), but allows you to work with non-model organisms.

Once you're past construct_flows_from_cellchat, however, everything else remains the same.

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