I downloaded the manifest file from gdc, but it only has the uuid, I will need to convert them to TCGA barcode.
read this https://support.bioconductor.org/p/89315/ and https://support.bioconductor.org/p/89021/
A function from the link above
library(httr)