powered by
Run data("pcawg_full") or data("pcawg_simple") to see detail database for conversion. The pcawg_simple database only contains PCAWG white-list donors.
data("pcawg_full")
data("pcawg_simple")
pcawg_simple
convert_pcawg( x, from = "icgc_specimen_id", to = "icgc_donor_id", db = c("full", "simple"), multiple = FALSE )
A character vector.
A character vector to convert.
Which identifier type to be converted. For db "full", one of . For db "simple", one of .
Identifier type convert to. Same as parameter from.
from
Database, one of "full" (for data("pcawg_full")) or "simple" (for data("pcawg_simple")).
if TRUE, return a data.table instead of a string vector, so multiple identifier mappings can be kept.
TRUE
data.table
# \donttest{ x <- convert_pcawg("SP1677") x y <- convert_pcawg("DO804", from = "icgc_donor_id", to = "icgc_specimen_id", multiple = TRUE ) y # } if (FALSE) { convert_pcawg("SA5213") }
Run the code above in your browser using DataLab