Tools: tl#
The tools module crested.tl provides everything you need to train and interpret models.
Submodules
Utility functions to prepare data for training and evaluation. |
|
Functions to design enhancers using CREsted models. |
|
Custom |
|
Custom |
|
TF-MoDISco (utility) functions. |
|
Custom |
Classes
Main class to handle training, testing, predicting and calculation of contribution scores. |
|
Task configuration (optimizer, loss, and metrics) for use in tl.Crested. |
Functions
|
Calculate contribution scores based on given method for the specified inputs. |
|
Calculate contribution scores based on given method only for the most specific regions per class. |
|
Get default loss, optimizer, and metrics for an existing task. |
|
Create synthetic enhancers for a specified class using in silico evolution (ISE). |
|
Create synthetic enhancers using motif insertions. |
|
Calculate metrics on the test set. |
|
Extract embeddings from a specified layer for all inputs. |
|
Make predictions using the model(s) on some input that represents sequences. |
|
Score regions upstream and downstream of a gene locus using the model's prediction. |