HoloNet.predicting.get_mgc_result#
- HoloNet.predicting.get_mgc_result(trained_MGC_model_list, X, adj, hide_repeat_tqdm=False, device='cpu')#
Run the trained MGC model and get the generated expression profile of the target gene.
- Parameters
- trained_MGC_model_list
List[MGC_Model] A list of trained MGC model for generating the expression of one target gene.
- X
Tensor The feature matrix used as the input of the trained_MGC_model_list.
- adj
Tensor The adjacency matrix used as the input of the trained_MGC_model_list.
- hide_repeat_tqdm
bool(default:False) If true, hide the tqdm for getting the result of repeated training.
- trained_MGC_model_list
- Return type
Tensor- Returns
: The generated expression profile of the target gene (cell_num * 1).