Closed eajeong closed 3 years ago
Hi Euna, @eajeong
Sorry for getting back to you so late.
Please use the legacy
argument in the function.
Unfortunately, it is not possible to auto-detect whether an ID is present in the legacy archives or not so this input has to come from the user after possibly querying the data on the GDC website.
library(TCGAutils)
UUIDtoBarcode("43864799-84c0-4c4b-8056-b3571c3e135b", from_type = "file_id", legacy = TRUE)
#' file_id
#' 1 43864799-84c0-4c4b-8056-b3571c3e135b
#' associated_entities.entity_submitter_id
#' 1 TCGA-OR-A5LT-01A-21-A39K-20
Best regards, Marcel
Thank you for your help.
It doesn't seems that TCGAutils supports protein expression file's information.
If I use UUIDtoBarcode for a protein expression file id (43864799-84c0-4c4b-8056-b3571c3e135b), I got the error message as follows:
When I check UUIDtoUUID for the corresponding case id (15fb07ae-101c-4553-891d-539cee89a5e9) of the above file id, there is no protein file's information.
You can find the protein expression file from the site (https://portal.gdc.cancer.gov/legacy-archive/files/43864799-84c0-4c4b-8056-b3571c3e135b)
Thank you in advance.