View source: R/convert_pcawg.R
convert_pcawg | R Documentation |
Run data("pcawg_full")
or data("pcawg_simple")
to see detail database for conversion.
The pcawg_simple
database only contains PCAWG white-list donors.
convert_pcawg(
x,
from = "icgc_specimen_id",
to = "icgc_donor_id",
db = c("full", "simple"),
multiple = FALSE
)
x |
A character vector to convert. |
from |
Which identifier type to be converted. For db "full", one of . For db "simple", one of . |
to |
Identifier type convert to. Same as parameter |
db |
Database, one of "full" (for |
multiple |
if |
A character vector.
x <- convert_pcawg("SP1677")
x
y <- convert_pcawg("DO804",
from = "icgc_donor_id",
to = "icgc_specimen_id", multiple = TRUE
)
y
## Not run:
convert_pcawg("SA5213")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.