Description Usage Arguments Value Examples
View source: R/cell_line-details.R
Category of a cell-line
1 | cell_line_category(cell_line)
|
cell_line |
A node or nodeset referring to a cell-line. |
The category attribute associated with the cell-line.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # First read the dataset in.
cellosaurus <- read_cellosaurus_xml(system.file("extdata",
"cellosaurus.xml",
package = "rcellosaurus"))
# Can call on a nodeset that's already been found. E.g.:
a_mouse_line <- cell_line_find_first(cellosaurus, "CVCL_IW91")
cell_line_category(a_mouse_line)
# Works with nodesets containing multiple cell-lines:
mice_lines <- cell_line_find_all(cellosaurus, "Mus musculus")
cell_line_category(mice_lines)
# Can nest the caetgory function around the the finder function:
cell_line_category(cell_line_find_first(cellosaurus, "CVCL_3449"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.