I have a list of fileuuids obtained from TCGA portal. I am trying to use GenomicDataCommons package to extract sample type(whether normal or tumor) and TCGA barcodes associated with input fileuuids. From the manual I can get to this
resp = cases() %>% filter(~ project.project_id=='TCGA-LUAD') %>% GenomicDataCommons::select(c(default_fields(cases()),'samples.sample_type')) %>% response_all()
Can someone guide me how to extract TCGA barcode and sample type from list of uuids?