- spac.transformations._validate_transformation_inputs(adata: <module 'anndata' from '/conda/envs/SCSAWorkflow_NIDAP/lib/python3.9/site-packages/anndata/__init__.py'>, layer: str | None = None, associated_table: str | None = None, features: ~typing.List[str] | str | None = None) None [source]
Validate inputs for transformation functions.
- Parameters:
adata (AnnData) – Annotated data matrix.
layer (str, optional) – Name of the layer in adata to use for transformation.
associated_table (str, optional) – Name of the key in obsm that contains the numpy array.
features (list of str or str, optional) – Names of features to use for transformation.
- Raises:
ValueError – If both associated_table and layer are specified.