Description Usage Arguments Details Value Author(s) See Also Examples
Given a set of labels for annotated hyperspheres, propagate labels to the surrounding unannotated hyperspheres.
1 | labelSpheres(x, labels)
|
x |
A numeric matrix of hypersphere coordinates, containing the median intensity of each marker (column) in each hypersphere (row). Alternatively, a CyData object containing median intensities for groups of cells, such as that produced by |
labels |
A character vector of labels for each hypersphere, set to an empty string for unannotated hyperspheres. |
After some hyperspheres have been labelled with interpretSpheres
, the remainder can be automatically labelled with this function.
Unlabelled hyperspheres are assigned the label of the closest labelled hypersphere.
Obviously, this assumes that enough hyperspheres have been labelled so that the closest hypersphere is of a similar cell type/state.
A character vector containing labels for all hyperspheres.
Aaron Lun
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.