waldronlab / cBioPortalData

Integrate the cancer genomics portal, cBioPortal, using MultiAssayExperiment
https://waldronlab.io/cBioPortalData/
30 stars 12 forks source link

Error: Provide a valid 'studyId' from 'getStudies()' #19

Closed jcgu closed 4 years ago

jcgu commented 4 years ago

hi there,

I started using this tool recently and run into this error when checking on the simple example provided.

cbio <- cBioPortal()
clinicalData(cbio, "acc_tcga")
Error in clinicalData(cbio, "acc_tcga") : 
  Provide a valid 'studyId' from 'getStudies()'

I looked into the code and understood the logic of .checkIdValidity but I couldn't figure out why it gave a FALSE for "acc_tcga".

I've tried the version on bioC and also the version here on GitHub and have the same issue.

Could you look into this?

Thanks.

LiNk-NY commented 4 years ago

Hi @jcgu, This has been resolved. See #15. Please get the newest version of cBioPortalData either on GitHub 2.1.10 or Bioconductor. Best, Marcel

jcgu commented 4 years ago

thanks, it's working with the latest on GitHub.