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

question about how to retrieve information on a table created by external app #227

Open
jpinero opened this issue Nov 13, 2024 · 5 comments
Assignees

Comments

@jpinero
Copy link

jpinero commented Nov 13, 2024

Hi!

I would like to retrieve the information in a table that is created when an enrichment analysis is performed using the disgenet APP (https://apps.cytoscape.org/apps/disgenetapp). I have tried " getTableColumns('DISGENET Enrichment, network = 86319)" but this does not work. I have checked the documentation, and I cannot find a function to retrieve data from tables outside the node, and edge tables.
Thanks!!
image

@AlexanderPico AlexanderPico self-assigned this Nov 13, 2024
@AlexanderPico
Copy link
Member

AlexanderPico commented Nov 13, 2024

Swagger is great to figuring out the path for RCy3 functions. In your Cytoscape session: Help > Automation > CyREST API.

Then expand Table and find "Get all Tables assigned to the Network". Try it out in the GUI to see the result and what the actual name and SUID is for the DISGENET Enrichment table. Then you should be able to getTableColumns().

And anything you can do using Swagger can be done in RCy3, so then I'd encode these steps in my R script so that I could call these functions for any future network and table, etc.

@jpinero
Copy link
Author

jpinero commented Nov 14, 2024

this is really useful, thank you!

@jpinero
Copy link
Author

jpinero commented Nov 14, 2024

but I still can't retrieve the information on the enrichment table :(

@AlexanderPico
Copy link
Member

The app authors may have indeed implemented their table in a way that is not accessible. I tried with the "extra" table added by the EnrichmentTable app and it works fine, but I did not implement the DISGENET app, so I'm not sure. Looks like it's open source and updated recently, so you might reach out to them?

https://apps.cytoscape.org/apps/disgenetapp

@AlexanderPico
Copy link
Member

Feel free to cc me in your contact and I can provide details about CyREST if that's helpful to them. alex.pico@gladstone.ucsf.edu

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