Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Cancer Types Summary and API

31 views
Skip to first unread message

Dennis Moccia

unread,
Oct 7, 2024, 11:23:19 AM10/7/24
to cBioPortal for Cancer Genomics Discussion Group
Hello Cbioportal Team,

I was hoping you might be able to assist me in the correct use of the API.  I am trying to pull the data which backs up the bar plot under the cancer types summary tab that shows alteration frequency vs studies.   I have written a script which can do this by issuing a set of study ids and a gene, however the script seems overly complicated (I loop through each study and issue api calls for cna, mutations, structural variants, etc and then aggregate that data).   Is there an api call that I might be missing which simply pulls back the aggregated data for cna, mutations, structural variants, mrna expression?  My script takes about 1-2 min for the pan tcga, but given the speed of the actual portal I suspect I am perhaps missing a better method.  Any guidance would be appreciated.  

Thank you
Dennis


Benjamin Gross

unread,
Oct 7, 2024, 3:55:57 PM10/7/24
to Dennis Moccia, cBioPortal for Cancer Genomics Discussion Group
Hi Dennis,

I loaded a cancer types summary page/tab with the chrome browser dev tool network tab open and it does indeed look like the page is making multiple requests to the backend, one for each molecular profile.

Regards,
Benjamin

PastedGraphic-1.png

--
You received this message because you are subscribed to the Google Groups "cBioPortal for Cancer Genomics Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cbioportal+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cbioportal/798fdf69-e93a-4067-af8c-36c6fa88f2f0n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages