tumourkit.utils.read_nodes.read_node_matrix
- tumourkit.utils.read_nodes.read_node_matrix(file: str, return_coordinates: bool | None = False, return_class: bool | None = True, remove_prior: bool | None = False, remove_morph: bool | None = False, enable_background: bool | None = False) List[ndarray]
Read csv and creates X and y matrices. Centroids coordinates are removed. Labels are subtracted 1 to be in 0-1 range.