library(TCGAbiolinks)
rna <- GDCquery(project = "TCGA-ACC",
data.category = "Transcriptome Profiling",
data.type='Gene Expression Quantification',
workflow.type='STAR - Counts')
GDCdownload(query, method = "api")
exp <- GDCprepare(query=rna)
Error
exp <- GDCprepare(query=rna)
|==========================================|100% Completed after 46 s
Error invectbl_as_col_location()
:
! Can't subset columns past the end.
i Locations 2, 3, and 4 don't exist.
i There is only 1 column.
Runrlang::last_error()
to see where the error occurred.
There were 50 or more warnings (use warnings() to see the first 50)
Backtrace:
x
- +-TCGAbiolinks::GDCprepare(query = rna)
- | -TCGAbiolinks:::readTranscriptomeProfiling(...)
- | +-base::suppressMessages(...)
- | | -base::withCallingHandlers(...)
- | -x %>% map_dfc(.f = function(y) y[, 2:4])
- -purrr::map_dfc(., .f = function(y) y[, 2:4])
- -purrr::map(.x, .f, ...)
-
\-TCGAbiolinks .f(.x[[i]], ...)
-
+-y[, 2:4]
-
+-readr:::`[.spec_tbl_df`(y, , 2:4)
-
+-base::NextMethod(`[`)
-
\-tibble:::`[.tbl_df`(y, , 2:4)
-
\-tibble:::vectbl_as_col_location(...)
-
+-tibble:::subclass_col_index_errors(...)
-
| \-base::withCallingHandlers(...)
-
\-vctrs::vec_as_location(j, n, names)
-
\-vctrs `<fn>`()
-
\-vctrs:::stop_subscript_oob(...)
-
\-vctrs:::stop_subscript(...)
-
\-rlang::abort(...)