_validate_transformation_inputs
- spac.transformations._validate_transformation_inputs(adata: <module 'anndata' from '/rstudio-files/ccbr-data/users/RH/nidap_hpc_environment_twin/workflow_envs/spac/lib/python3.8/site-packages/anndata/__init__.py'>, layer: str | None = None, associated_table: str | None = None, features: ~typing.List[str] | str | None = None, annotation: 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.
annotation (str, optional) – Name of annotation column in obs that contains class labels
- Raises:
ValueError – If both associated_table and layer are specified.