read_raw

besca.tl.auto_annot.read_raw(train_paths, train_datasets, test_path, test_dataset)[source]

read from adata.raw and revert log1p normalization

This function reads a list of training datasets (at least one) and one testing dataset and reverses log1p normalization on the raw set that includes all genes and has not been regressed out

Parameters:
  • train_paths (list) – list of paths where training datasets are located

  • train_datasets (list) – a list of names of training datasets (same order as paths)

  • test_path (string) – path of test dataset

  • test_dataset (string) – name of test dataset

Returns:

  • list – A list of training dataset anndata objects

  • AnnData – An anndata object containing testing dataset