Description Usage Arguments Value Examples
In the CHETAH classification, replace the name of a Node and all the names of the final and intermediate types under that Node.
1 2 | RenameBelowNode(input, whichnode, replacement, nodes_exclude = NULL,
types_exclude = NULL, node_only = FALSE, return_clas = FALSE)
|
input |
a SingleCellExperiment on which |
whichnode |
the number of the Node |
replacement |
a character vector that replaces the names under the selected Node |
nodes_exclude |
optional the names of the types that should NOT be replaced |
types_exclude |
optional numbers of the Nodes under the selected Node, that should NOT be replaced |
node_only |
only rename the Node itself, without affecting the types under that Node |
return_clas |
Instead of returning the SingleCellExperiment, only return the classification vector |
The SingleCellExperiment with the new classification or if 'return_clas = TRUE' the classification vector.
1 2 | ## In the example data replace all T-cell subtypes by "T cell"
input_mel <- RenameBelowNode(input = input_mel, whichnode = 7, replacement = "T cell")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.