add_ids | R Documentation |
Matches cell line names from the given column to unique DepMap IDs. Matching
is performed using only alpha-numeric characters from the provided
names. NA
will be produced when the cell line cannot be found in the
data_annotations
data set or when there is
non-unique cell <-> ID mapping.
add_ids(data, cell)
data |
A tibble. |
cell |
Name of column containing cell line names |
Provided data
tibble with a new depmap_id
' column
data <- tibble::tibble( CellLine = c("MCF7", "293T", "K562"), viability = c(0.96, 0.58, 0.70) ) add_ids(data, cell = "CellLine")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.