Truth#
missionbio.demultiplex.protein.truth.Truth
- class Truth(celltypes: Sequence[CellType] = (), version: str = 'NA')#
A phylogenetic tree of cell types.
- Parameters:
celltypes – A list of cell types.
version – The version of the truth.
Functions#
|
|
Add an antibody to a cell type and all its descendants |
|
Add a celltype to the truth. |
|
Adds doublets to the truth. |
|
Assert that the truth is valid. |
|
The default truth for PBMCs. |
|
Returns a list of cell type names. |
|
|
|
Returns a deep copy of the truth. |
|
Delete an antibody from the truth. |
|
Delete a clone from the truth. |
|
Returns the cell type with the specified name. |
|
Checks if the truth has a cell type with the specified name. |
|
Checks if the panel can be read using read_panel and is compatible with hashing. |
|
Isolate the truth to only contain the given cell and its descendants. |
|
Get the palette of the truth. |
|
Plot the truth as a tree. |
|
Reads the truth from a csv panel file. |
|
Reads a truth from a YAML file. |
|
Set the color of a cell type. |
|
|
|
Writes the truth to a YAML file. |
|
Trim the truth to remove the given cell and all its descendants. |