R/Echidna_vae_generate.R
Echidna_vae_generate.Rd
Simulate B or T cell receptor sequences by variational autoencodes(VAEs) trained with experimental data.
Echidna_vae_generate(
sequence,
n.train,
n.sample,
batch.size,
latent.dim,
intermediate.dim,
epochs,
epsilon.std,
null.threshold
)
a vector of seuqnece the model to be trained on
number of sequence to be used in training set, the rest will be in testing set
number of new sequence to generate from VAE model
set to larger to save time, set to smaller to same computing power
parameter used in VAE model
parameter used in VAE model
parameter used in VAE model
parameter used in VAE model
threshold of predicted value to be considered as an existing base, default is 0.05. When generated sequence is too short, lower this threshold.
A simulated VDJ repertoire on the basis of the input experimental repertoire