TCGA_ID_to_ICGC_ID: Translate TCGA (The Cancer Genome Atlas) IDs to ICGC...

Description Usage Arguments Details Value Examples

View source: R/TCGA_ID_to_ICGC_ID.R

Description

Translate TCGA (The Cancer Genome Atlas) IDs to ICGC (International Cancer Genome Consortium) IDs

Usage

1

Arguments

tcga.ids

Character vector of TCGA IDs.

Details

If there are TCGA IDs that cannot be matched to any ICGC IDs, return NA with a warning.

Value

Character vector of corresponding ICGC IDs. If a corresponding ICGC ID cannot be found, then return NA with a warning.

Examples

1
2
3
tcga.ids <- c("TCGA-AA-A01V", "foo", "TCGA-CA-6717", "bar")
icgc.ids <- TCGA_ID_to_ICGC_ID(tcga.ids)
icgc.ids <- icgc.ids[nzchar(icgc.ids)]

steverozen/PCAWG7.WGS.Spectra documentation built on Jan. 27, 2022, 4:51 a.m.