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

Adding extra modules of ligand-receptors #159

Open
rmauron opened this issue Jul 8, 2024 · 1 comment
Open

Adding extra modules of ligand-receptors #159

rmauron opened this issue Jul 8, 2024 · 1 comment

Comments

@rmauron
Copy link

rmauron commented Jul 8, 2024

Dear developers,

Thank you for this great tool suit, very helpful.

I have a question regarding adding external models of L-R. how would it be possible to specify a manually selected L-R to check interaction for. Let's say I have 20 specific interaction that are not necessarily in the ressource provided by the tool, how can I give a new input of pairs?

@dbdimitrov
Copy link
Collaborator

Hi @rmauron,

It should be as simple as obtaining the resource of interest from liana and then concatenating your 20 interactions (formated the same way as the liana dataframe):

resource <- [select_resource](https://saezlab.github.io/liana/reference/select_resource.html)("Consensus")[[1]]
resource <- rbind(your_resource, resource)

Then you can pass the resource to liana_wrap function as shown here:
https://saezlab.github.io/liana/articles/liana_custom_op.html#run-liana-with-a-custom-ccc-resource

Hope this helps!

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