Description Usage Arguments Value Examples
View source: R/cell_line-details.R
Expected values for type
are c("identifier", "synonym")
.
1 | cell_line_names(cell_line, type = NULL)
|
cell_line |
A node or nodeset referring to a cell-line or multiple cell-lines. |
type |
A character vector specifying which types to output. If |
The name(s) associated with the cell-line.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | cellosaurus <- read_cellosaurus_xml(system.file("extdata",
"cellosaurus.xml",
package = "rcellosaurus"))
a_line <- cell_line_find_first(cellosaurus, "CVCL_E548")
# If type is not set, returns all names
cell_line_names(a_line)
# The expected values of type are "identifier" or "synonym":
cell_line_names(a_line, type = "identifier")
cell_line_names(a_line, type = "synonym")
# Can provide multiple type values as a character vector.
# This should be the same as the unfiltered version:
cell_line_names(a_line, type = c("identifier", "synonym"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.