| gps: GPSModel | |
| gps_config: GPSConfig |
| gps_config | Create a GPS model hyper-parameter configuration object. |
| build_gps | Build a GPS (GNN + Transformer) gene regulatory network model. |
| train | Train the GPS model and return it together with the training diagnostics. |
| gene_names | Get the gene ids of the trained GPS model, in the modelling order. |
| gene_means | Get the per gene mean of the preprocessed expression data (log-CPM scale). |
| gene_sds | Get the per gene standard deviation of the preprocessed expression data (log-CPM scale). |
| library_sizes | Get the raw library size of every training sample (the denominator of the CPM normalization). |
| gene_stats | Get the gene alignment and the de-normalization parameters of the model as a tuple list. |
| set_context | Inject an external cell context into the model as the control baseline of the following in silico perturbation experiments. |
| reset_context | Restore the control baseline of the model back to the training derived one. |
| knockdown_residual | Get or set the fraction of the wild type expression that is kept by an in silico knockdown. |
| perturbation_channel | Get or set whether the perturbation channel is enabled. |
| perturbation_channel_gain | Get or set the injection gain of the perturbation channel. |
| perturbation_channel_coregulation | Get or set the co-regulation fallback of the perturbation channel. |
| graph_normalization | The edge normalisation mode that the graph convolution actually uses. |
| export_profiles | Write the mutant (and the control) expression profiles of a set of in silico perturbation results as csv matrix files. |