BioinformaticsFMRP / TCGAbiolinks

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

GDCquery with legacy=TRUE results in unused argument error #600

Closed JuliusDeynet closed 9 months ago

JuliusDeynet commented 9 months ago

The following query

query1 <- GDCquery(project = "TCGA-GBM" ,
                   data.category = "Gene expression",
                   data.type = "Gene expression quantification",
                   legacy = TRUE,
                   platform = "AgilentG4502A_07_1")

results in

Error in GDCquery(project = "TCGA-GBM", data.category = "Gene expression", : unused argument (legacy = TRUE)

Because the data category "Gene expression" is only available in the legacy archive, it is needed. The query also rightfully complains about the invalid data category if the option is not used. That's why I don't understand the unused argument error.

Am I doing something wrong or is this a bug?

tiagochst commented 9 months ago

Hi,

They have discontinued the legacy archive, which is why the legacy = TRUE option is no longer available. You can now access gene expression data using the following code:

query <- GDCquery(
    project = "TCGA-GBM",
    data.category = "Transcriptome Profiling",
    data.type = "Gene Expression Quantification", 
    workflow.type = "STAR - Counts"
)
JuliusDeynet commented 9 months ago

Thank you!