stlearn.add.labels¶
-
stlearn.add.labels(adata: anndata._core.anndata.AnnData, label_filepath: str = None, index_col: int = 0, sep: str = '\t', copy: bool = False) → Optional[anndata._core.anndata.AnnData][source]¶ Add label transfer results into AnnData object
- Parameters
adata (AnnData The data object to add L-R info into) –
label_filepath (str The path to the label transfer results file) –
sep (str Separator of the csv file) –
copy (bool Copy flag indicating copy or direct edit) –
- Returns
adata
- Return type
AnnData The data object that L-R added into