Closed
Description
Hello, thank you for the wonderful tool. First time posting, so please let me know if this issue has been solved elsewhere (I couldn't find) or if more information would be helpful. I have been using a method similar to that outlined here (https://shixiangwang.github.io/home/en/post/ucscxenatools-201908/) for fetching dense values for quite some time, but at some point the past few months my previous code started throwing the following error message when running: Error in FUN(X[[i]], ...) : is.atomic(p) | is.list(p) is not TRUE
I get it running the same code as the vignette:
> luad_cohort = XenaData %>%
+ filter(XenaHostNames == "tcgaHub") %>% # select TCGA Hub
+ XenaScan("TCGA Lung Adenocarcinoma") # select LUAD cohort
> luad_cohort
# A tibble: 23 × 17
XenaHosts XenaHostNames XenaCohorts XenaDatasets SampleCount DataSubtype Label Type
<chr> <chr> <chr> <chr> <int> <chr> <chr> <chr>
1 https://tcga.xenahubs.n… tcgaHub TCGA Lung … RABIT/separ… 467 pathway ac… RABI… clin…
2 https://tcga.xenahubs.n… tcgaHub TCGA Lung … RABIT/separ… 120 pathway ac… RABI… clin…
3 https://tcga.xenahubs.n… tcgaHub TCGA Lung … TCGA.LUAD.s… 151 DNA methyl… Meth… geno…
4 https://tcga.xenahubs.n… tcgaHub TCGA Lung … TCGA.LUAD.s… 492 DNA methyl… Meth… geno…
> ge <- luad_cohort %>%
+ filter(DataSubtype == 'gene expression RNAseq', Label == 'IlluminaHiSeq')
> ge
# A tibble: 1 × 17
XenaHosts XenaHostNames XenaCohorts XenaDatasets SampleCount DataSubtype Label Type
<chr> <chr> <chr> <chr> <int> <chr> <chr> <chr>
1 https://tcga.xenahubs.net tcgaHub TCGA Lung … TCGA.LUAD.s… 576 gene expre… Illu… geno…
# ℹ 9 more variables: AnatomicalOrigin <chr>, SampleType <chr>, Tags <chr>, ProbeMap <chr>,
# LongTitle <chr>, Citation <chr>, Version <chr>, Unit <chr>, Platform <chr>
> KRAS = fetch_dense_values(host = ge$XenaHosts,
+ dataset = ge$XenaDatasets,
+ identifiers = "KRAS",
+ use_probeMap = TRUE) %>%
+ .[1, ]
Error in FUN(X[[i]], ...) : is.atomic(p) | is.list(p) is not TRUE
Metadata
Metadata
Assignees
Labels
No labels