waldronlab / TCGAutils

Toolbox package for organizing and working with TCGA data
https://bioconductor.org/packages/TCGAutils
22 stars 6 forks source link

extract from ID case the ID files #10

Closed bioinfo-dirty-jobs closed 6 years ago

bioinfo-dirty-jobs commented 6 years ago

I want create a manifest file where I have my UIDD from case and UIDD from Files.

How can do this?

LiNk-NY commented 6 years ago

If you're talking about the GenomicDataCommons::manifest function, you can create the manifest first and then run TCGAutils::UUIDtoUUID to get the identifiers that are missing. You can then merge the two data.frames.

bioinfo-dirty-jobs commented 6 years ago

thanks for the hep @LiNk-NY I have tried this but not works. I have bcuidd and I want file id

UUIDtoUUID(tolower('F94615EA-551C-4F63-AF0D-5E49C87FC66E'))
[1] file_id       cases.case_id
LiNk-NY commented 6 years ago

This will work. Please provide a to_type argument here.

UUIDtoUUID(tolower("F94615EA-551C-4F63-AF0D-5E49C87FC66E"), to_type = "file_id")