Closed BiotechPedro closed 1 year ago
Hi Pedro, @BiotechPedro
Sorry for the late response. I am traveling to a conference.
Have you tried to authenticate with a www.cbiodfci.org
hostname?
Also, you should try to use the latest version of cBioPortalData
on GitHub (it implements a more robust way of working with tokens).
Best regards,
Marcel
Hi Marcel, @LiNk-NY
Don't worry too much, it's not super urgent!
I've also tried that host name and doesn't work. Also, I've updated to 2.13.6
and still I am getting an error :/
Best,
Pedro
Also, I forgot to mention that after downloading the token .txt
I run in the concrete folder the following code: curl -X GET "https://www.cbioportal.org/api/studies" -H "accept: application/json" -H "Authorization: Bearer mytoken"
, but I don't know if it is correct.
I solved it! My problem was that I was running that code in the terminal, but then was using R
inside a singularity image .sif
. Once I run the code in a terminal inside the image, it worked.
I hope is helpful for others in the future!
Thanks,
Pedro
Hi team,
FOA, thanks for this package! It makes super easy to work with so many databases!
My question is regarding an error I am facing when trying to access to cbiodfci.org by
{cBioPortalData}
. I requested the access to the web, so from there I downloaded the needed token, but when I use it with the following code it turns into an error and I cannot access. Would you mind to help me?cbio <- cBioPortal(hostname = "[cbiodfci.org](http://cbiodfci.org/)", protocol = "https", token = "../misc/cbioportal_data_access_token.txt", api. = "/api/api-docs")
sessionInfo()