scalex.label_transfer

scalex.label_transfer(ref, query, rep='latent', label='celltype')

Label transfer

Parameters:
  • ref – reference containing the projected representations and labels

  • query – query data to transfer label

  • rep – representations to train the classifier. Default is latent

  • label – label name. Defautl is celltype stored in ref.obs

Return type:

transfered label