Skip to contents

The GDC assigns ids (in the form of uuids) to objects in its database. Those ids can be used for relationships, searching on the website, and as unique ids. All

Usage

ids(x)

# S3 method for GDCManifest
ids(x)

# S3 method for GDCQuery
ids(x)

# S3 method for GDCResults
ids(x)

# S3 method for GDCResponse
ids(x)

Arguments

x

A GDCQuery or GDCResponse object

Value

a character vector of all the entity ids

Examples

# use with a GDC query, in this case for "cases"
ids(cases() %>% filter(~ project.project_id == "TCGA-CHOL"))
#>  [1] "b10c64c2-7fd2-4210-b975-034affb14b57"
#>  [2] "32e9558c-946b-4288-91e1-504e47c308ac"
#>  [3] "cb40327b-f3ac-4f0a-bb17-7db2a281e354"
#>  [4] "ccb028ae-777c-4af6-b92e-40848f1cf774"
#>  [5] "0775583e-c0a0-4f18-9ca2-8f89cedce3d6"
#>  [6] "180a2b9c-9cac-4d96-86e8-cd6b3b9386b5"
#>  [7] "47a9ef9b-04f0-4e8d-bfdb-0846ba30d08b"
#>  [8] "bec2cf62-44a2-42e5-8e10-440aad69ed77"
#>  [9] "1932bc1e-2a15-4f74-978e-d49c366604a4"
#> [10] "5cf3911a-f3ea-4c0e-851d-5bb57ca7190f"
#> [11] "b16e9c3f-c7df-46c2-bee3-ecaebbab025f"
#> [12] "1d136284-bdf5-498e-9506-4893801a337c"
#> [13] "dcc87c59-fd8c-4511-9983-96d5b9784cb0"
#> [14] "5fb3affa-3661-48e8-a1cc-b533c862e8c5"
#> [15] "22bf93b3-c8dc-4669-862f-3e4ae478849b"
#> [16] "adc9a685-5b4a-4c29-881a-da1895c47520"
#> [17] "b4f7f9e4-5fc5-4461-8e0b-0b6c384863c6"
#> [18] "f47dbd99-920b-4b39-a1b0-6c152ad24884"
#> [19] "fe57b639-db7a-460f-adfe-552f1e034e46"
#> [20] "aaacf22c-2362-4613-b024-88fb7dd1cca1"
#> [21] "4290b3b3-94f6-43e4-8309-430dd973ae2d"
#> [22] "2d6e20b2-82c7-4c12-92d0-93282b0a9031"
#> [23] "3c8ca064-a4a7-416f-a069-4324d4a72038"
#> [24] "779ce92d-1abd-44fc-9021-eda4d7f08fff"
#> [25] "3824cd6d-c85c-4b21-819a-932d1afef976"
#> [26] "9d9109f5-5917-4126-8e34-8a7e4632e913"
#> [27] "3f7e0cbf-e48c-410a-9138-be9b373fef73"
#> [28] "c60eb7be-c85c-4338-a20b-51948d43bf2a"
#> [29] "7047dc12-e2ed-40b7-86fd-c5c53a2766fd"
#> [30] "6e534dd3-81ac-4575-ab1e-02c21e10916d"
#> [31] "95b69517-4971-450e-9ed0-43bc8b2c0534"
#> [32] "57500d4c-4bb3-4f32-ae3a-a0b78f18c526"
#> [33] "48d17b17-348c-405a-ae92-f190372a3aac"
#> [34] "8944fe2a-e32f-4898-a2c5-fb6751f602a4"
#> [35] "20ec1cd9-7bdb-4eb9-9d20-65795580f1f5"
#> [36] "20bf79af-3b0f-477d-b619-5597d42f5d5e"
#> [37] "41b97b11-acaa-4fbc-b3b0-0abc1bcac13b"
#> [38] "1947a152-6339-4f66-b9a4-0229580f0287"
#> [39] "859ed2d9-668d-440c-86ab-dcd0d9742973"
#> [40] "37d60df9-2fa5-433b-9e54-dccb5ed5a638"
#> [41] "e76cf9a0-061e-4a7d-ba28-5a40b8da54b8"
#> [42] "bc15cec4-1f82-47fe-ae69-3853194fab7e"
#> [43] "f2d42e03-ca8d-4b57-ae39-0cc8f37b1b67"
#> [44] "5166d82f-7b22-4101-bea9-6056e5a74c48"
#> [45] "ff4131c9-537c-46cc-b495-9af60d431f5e"
#> [46] "c8e57f03-ac69-49bb-954b-4c40fe371f75"
#> [47] "15850852-5979-419d-ae38-76ffd0e9d7e8"
#> [48] "d64d8a1b-b31f-4cbb-a586-5ec7f058f0de"
#> [49] "7f08f522-08ff-4b30-aa5b-e69cf15041c9"
#> [50] "ae8d1ed6-2ddf-47b0-8099-bbc9230b499e"
#> [51] "91544f6b-90b6-45df-a501-3097fe0c74be"
# also works for responses
ids(response(files()))
#>  [1] "c786e2e9-04ea-48cf-b8a5-3daa96c1837b"
#>  [2] "4f27d16f-0029-43f5-8627-7f477b4cce6d"
#>  [3] "c7546d88-1748-4760-b06f-0b510484345a"
#>  [4] "9295ad2f-0615-4994-83d4-1144755c42aa"
#>  [5] "6ca95cc0-02c1-4ca0-ab51-ee9026840d70"
#>  [6] "5113209b-ac0d-492f-9294-87cef3d12693"
#>  [7] "2a9bf098-8683-4c20-9fee-5e52965ff403"
#>  [8] "149c005a-6ce8-461b-949f-365094b42ab9"
#>  [9] "30a39813-5eae-4f50-ad3d-f7bf907ff6ee"
#> [10] "7224aa68-9b6c-45a4-bff5-350fd89bd470"
# and results
ids(results(cases()))
#>  [1] "b9a32a1c-9c93-5a92-8b30-e09a91dc3cfc"
#>  [2] "c2829ab9-d5b2-5a82-a134-de9c591363de"
#>  [3] "f5548317-3be4-5227-a655-dfb97e6418b9"
#>  [4] "cf3bd8c5-4cd6-57c6-b07a-f20d414d0819"
#>  [5] "eaffceb7-3b14-5b19-a7f0-a43bd8c45909"
#>  [6] "c07901d8-2829-5e98-9e8a-e12faafa1626"
#>  [7] "2fc73759-0c14-5ec9-9130-825206a1211d"
#>  [8] "2c326b96-e948-5dbb-844a-a83882701ae8"
#>  [9] "7f50289e-a837-5e5f-bbd3-5e31e63d6713"
#> [10] "9af6ade7-8255-5a2e-808e-655f855ae733"