Description Usage Arguments Value Examples
View source: R/cell_line-details.R
Sex of a cell-line
1 | cell_line_sex(cell_line)
|
cell_line |
A node or nodeset referring to a cell-line. |
The sex attribute associated with the cell-line. NA
if
no sex attribute is present.
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_line <- cell_line_find_first(cellosaurus, "CVCL_E548")
cell_line_sex(a_line)
# Works with nodesets containing multiple cell-lines:
mice_lines <- cell_line_find_all(cellosaurus, "Mus musculus")
cell_line_sex(mice_lines)
# Can nest the sex function around the the finder function:
cell_line_sex(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.