powered by
Run data("tcga") to see detail database for conversion.
data("tcga")
convert_tcga(x, from = "sample_id", to = "submitter_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_tcga("TCGA-02-0001-10") x # } if (FALSE) { convert_tcga("TCGA-02-0001-10A-01W-0188-10") }
Run the code above in your browser using DataLab