Description Usage Arguments Value
View source: R/tss_predictor.R
A function that trains and returns model to predict TSS activity using the same convolutional architecture as the pre-trained predictor that ships with this package. Just here in case a user wants to try training the model on alternative data/labels.
1 | tss_predictor(train_features, train_labels, train = TRUE)
|
train_features |
a 3-dimensional numeric array where the dimensions are [transcript, bin, strand]. (IMPORTANT: bin must be >= 25) |
train_labels |
a 0/1 encoded vector of labels with 1 per transcript |
train |
logical. Whether to train model |
a trained keras model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.