Description Usage Arguments Examples
Replaces specific nucleotides in a sequence
1 2 3 4 5 6 | replaceChar(
sequence,
model,
char = "X",
vocabulary = c("l", "a", "c", "g", "t")
)
|
sequence |
input sequence, length should be in sync with the model. If length exceeds input.shape of model then only the right side of the sequence will be used. |
model |
trained model from the function |
char |
character in the sequence that will be replaced |
vocabulary |
ordered vocabulary of input sequence |
1 2 3 4 | ## Not run:
example.model <- keras::load_model_hdf5("example_model.hdf5")
replaceChar(sequence = sequence, model = example.model)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.