Problem with UUIDtoBarcode
0
0
Entering edit mode
2.8 years ago
adrian18_07 ▴ 10

I have a problem with conversion UUID to TCGA Barcode. I use UUIDtoBarcode from library(TCGAutils). My code:

UUIDS <- c("c4e6dc9a-0546-4ee3-b5bf-19872dca172e",
    "078b734e-a871-428f-992e-c292ce767b6f",
    "8a4eb4f8-766f-413e-9b3e-ce382fcf19d8")
res <- UUIDtoBarcode(UUIDS, from_type = "case_id")

And I got result:

Command error 'UUIDtoBarcode(UUIDS, from_type = "case_id")':
No barcodes found, only case and file UUIDs are supported.

I used from_type = "case_id" and "file_id", but it wasn't work.

But if I use another UUID, e.g.:

UUIDS <- c("0001801b-54b0-4551-8d7a-d66fb59429bf",
"002c67f2-ff52-4246-9d65-a3f69df6789e",
"003143c8-bbbf-46b9-a96f-f58530f4bb82")

res <- UUIDtoBarcode(UUIDS, from_type = "file_id")

Everything is ok. Thanks for any help.

UUID UUIDtoBarcode • 552 views
ADD COMMENT

Login before adding your answer.

Traffic: 1805 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6