Skip to main content

Module cell_annotations

Module cell_annotations 

Source

Structs§

CellAnnotations
Parsed cell annotations: maps each cell to an individual (and optionally a cell type).
CellTypeMembership
Cell-type membership matrix with cell type names.

Functions§

build_onehot_membership
Build a one-hot membership matrix from hard cell-type annotations.
infer_cell_annotations
Infer cell annotations from cell names by splitting on @.
read_cell_annotations
Read cell annotations from a delimited file (TSV, CSV, or space-separated).
read_membership_proportions
Read soft cell-type membership proportions from a parquet file.