scButterfly.train_model_cite.Model.test

Model.test(test_id_r, test_id_a, model_path=None, load_model=True, output_path=None, test_cluster=True, test_figure=True, output_data=False, return_predict=False)

Test for model.

Parameters:
  • train_id_r (list) – list of RNA data cell ids for training.

  • train_id_a (list) – list of ATAC data cell ids for training.

  • model_path (str) – path for load trained model, default None.

  • load_model (bool) – load the pretrained model or not, deafult True.

  • output_path (str) – file path for model output, default None.

  • test_cluster (bool) – test clustrer index or not, deafult True.

  • test_figure (bool) – test tSNE or not, deafult True.

  • output_data (bool) – output the predicted test data to file or not, deafult False.

  • return_predict (bool) – return predict or not, if True, output (A2R_predict, R2A_predict) as returns, deafult False.