TCGAWorkflow icon indicating copy to clipboard operation
TCGAWorkflow copied to clipboard

Got Error in getFirehoseData function

Open luoyuan1984 opened this issue 7 years ago • 1 comments

Hello, I am trying to run code below:

# Download GISTIC results
lastanalyzedate <- getFirehoseAnalyzeDates(1)
gistic <- getFirehoseData("GBM",gistic2Date = lastanalyzedate)

# get GISTIC results
gistic.allbygene <- getData(gistic, type = "GISTIC", platform = "AllByGene")

I got an error like this: Error in getData(gistic, type = "GISTIC", platform = "AllByGene") : No data available for that type

I also tried to view gistic by view(gistic), but got another error: Error in if (more || nchar(output) > 80) { : missing value where TRUE/FALSE needed

I am using R:3.5.1 and RStudio:1.1.456 in Windows10 system.

Thank you.

luoyuan1984 avatar Jan 04 '19 04:01 luoyuan1984

It seems they updated the package. Thanks for pointing it out. The updated code is below.

library(RTCGAToolbox)
lastanalyzedate <- getFirehoseAnalyzeDates(1)
gistic <- getFirehoseData("GBM",GISTIC = TRUE, gistic2Date = lastanalyzedate)

# get GISTIC results
gistic.allbygene <- getData(gistic, type = "GISTIC", platform = "AllByGene")
gistic.thresholedbygene <- getData(gistic, type = "GISTIC", platform = "ThresholdedByGene")

Sorry for the late reply. I did not get notified.

tiagochst avatar Apr 02 '20 19:04 tiagochst