Open Pmgranjo opened 2 years ago
@Pmgranjo what is the project
argument ?
I am also getting this error, with any project name I use (e.g. TCGA-CHOL). Did you manage to solve it?
Thanks!
Carmen
@cbravo93 What is the version of TCGAbiolinks you have installed ? The following code is working on version 2.25.3.
library(TCGAbiolinks)
query <- GDCquery(
project = "TCGA-CHOL",
data.category = "Transcriptome Profiling",
data.type = "Gene Expression Quantification",
workflow.type = "STAR - Counts"
)
GDCdownload(query, method = 'api',files.per.chunk = 10)
gdc <- GDCprepare(query)
Hi @tiagochst !
Thanks for the quick repsonse! I am using 2.25.4, I will try downgrading. Which versions of tidyverse/purr are you using just in case it comes from there?
Thanks!
C
Quick update, I just installed from Github to check the newest version (2.27.2) and it works with this version as well. Thanks!
When I try to retrieve Gene Expression Data through this code:
query$rnaseq <- GDCquery(project = project, data.category = "Transcriptome Profiling", data.type = "Gene Expression Quantification", workflow.type = "STAR - Counts") GDCdownload(query$rnaseq, method = 'api') gdc$rnaseq <- GDCprepare(query$rnaseq) save(gdc, query, file = cached.file)
The following error appears
Error in
y[, 2:4]
: ! Can't subset columns past the end. i Locations 2, 3, and 4 don't exist. i There is only 1 column.Backtrace: x
[.spec_tbl_df
(y, , 2:4)[
)[.tbl_df
(y, , 2:4)****<fn>
()My error is highlighted with ***