popv.annotation.annotate_data#
- popv.annotation.annotate_data(adata, methods=None, save_path=None, methods_kwargs=None)[source]#
Annotate an AnnData dataset preprocessed by
popv.preprocessing.Process_Queryby using the annotation pipeline.- Parameters:
adata (
AnnData) – AnnData of query and reference cells. AnnData object after runningpopv.preprocessing.Process_Query.methods – List of methods used for cell-type annotation. Defaults to all algorithms.
save_path (
str|None(default:None)) – Path were annotated query data is saved. Defaults to None and is not saving data.methods_kwargs (
dict|None(default:None)) – Dictionary, where keys are used methods and values contain non-default parameters. Default to empty-dictionary.
- Return type: