BioinformaticsFMRP / TCGAbiolinks

TCGAbiolinks
http://bioconductor.org/packages/devel/bioc/vignettes/TCGAbiolinks/inst/doc/index.html
298 stars 112 forks source link

GDCquery_clinic ERROR #597

Closed 42kuroniko closed 1 year ago

42kuroniko commented 1 year ago

I try to download ALL the projects of TCGA mRNA and clinical files, but I went wrong with downsides codes, what should I do to correct the codes?

clinical <- GDCquery_clinic(project = 'TCGA-TGCT', type = "clinical")
>Error in GDCquery_clinic(project = "TCGA-TGCT", type = "clinical") : 
  Error: API returned more information
tiagochst commented 1 year ago

Thanks for the bug, this should be fixed now.

ssdy5366228 commented 1 year ago

Thanks for the bug, this should be fixed now.

Hi, I am still encountering the same error using the same code after uninstalling and reinstalling TCGAbiolinks.

ssdy5366228 commented 1 year ago

I try to download ALL the projects of TCGA mRNA and clinical files, but I went wrong with downsides codes, what should I do to correct the codes?

clinical <- GDCquery_clinic(project = 'TCGA-TGCT', type = "clinical")
>Error in GDCquery_clinic(project = "TCGA-TGCT", type = "clinical") : 
  Error: API returned more information

In the source code “clinical.R”, I replaced treatments$submitter_id <- gsub("_treatment(_[0-9])?","", treatments$submitter_id) with treatments$submitter_id <- gsub("_treatment_?[0-9]*", "", treatments$submitter_id), it worked, you can try it out.

ollemonrasl commented 1 year ago

Thanks for the bug, this should be fixed now.

Is it possible that I still get the same error? Thanks.