← Python API
vraven.decompiler · class

ConceptAtlas

ConceptAtlas(concept_sets: 'list[ConceptSet]', sample_ids: 'tuple[str, ...]', labels: 'np.ndarray | None' = None, metadata: 'dict[str, Any]' = <factory>) -> None

ConceptAtlas(concept_sets: 'list[ConceptSet]', sample_ids: 'tuple[str, ...]', labels: 'np.ndarray | None' = None, metadata: 'dict[str, Any]' = <factory>)

Usage

from vraven.decompiler import ConceptAtlas

value = ConceptAtlas(...)

Methods

concept_map(self) -> 'dict[str, Concept]'

Public method.

save(self, directory: 'str | Path') -> 'Path'

Public method.

score_matrix(self, concept_ids: 'Sequence[str] | None' = None) -> 'tuple[np.ndarray, list[str]]'

Public method.

set_for_node(self, node_id: 'str') -> 'ConceptSet'

Public method.

Source of truthThis page is generated from the checked-out public symbol, signature, and docstring. Pin the package version for reproducible work.