tiledbsoma.io.create_from_matrix¶
- tiledbsoma.io.create_from_matrix(cls: Type[_NDArr], uri: str, matrix: ndarray | Dataset | csr_matrix | csc_matrix | CSCDataset | CSRDataset, platform_config: Dict[str, Mapping[str, Any]] | object | None = None, ingest_mode: Literal['write', 'schema_only', 'resume'] = 'write', context: SOMATileDBContext | None = None) _NDArr ¶
Create and populate the
soma_matrix
from the contents ofmatrix
.Lifecycle
Maturing.