powered by
Run data("icgc") to see detail database for conversion.
data("icgc")
convert_icgc( x, from = "icgc_specimen_id", to = "icgc_donor_id", multiple = FALSE )
A character vector.
A character vector to convert.
Which identifier type to be converted. One of .
Identifier type convert to. Same as parameter from.
from
if TRUE, return a data.table instead of a string vector, so multiple identifier mappings can be kept.
TRUE
data.table
# \donttest{ x <- convert_icgc("SP29019") x # } if (FALSE) { convert_icgc("SA170678") }
Run the code above in your browser using DataLab