convert_icgc: Convert ICGC Identifiers

View source: R/convert_icgc.R

convert_icgcR Documentation

Convert ICGC Identifiers

Description

Run data("icgc") to see detail database for conversion.

Usage

convert_icgc(
  x,
  from = "icgc_specimen_id",
  to = "icgc_donor_id",
  multiple = FALSE
)

Arguments

x

A character vector to convert.

from

Which identifier type to be converted. One of .

to

Identifier type convert to. Same as parameter from.

multiple

if TRUE, return a data.table instead of a string vector, so multiple identifier mappings can be kept.

Value

A character vector.

Examples


x <- convert_icgc("SP29019")
x

## Not run: 
convert_icgc("SA170678")

## End(Not run)

IDConverter documentation built on March 31, 2023, 10:25 p.m.