powered by
Replaces codons with synonymous codons
codon_replacement(repertoire, mode = "both", codon_replacement_list, skip_probability = 0)
An annotated AIRR compliant immuneSIM repertoire.
(http://docs.airr-community.org/en/latest/)
Defines whether codons should be replaced in the nt or AA sequence or in both ("nt","AA","both")
List containing instructions for which codons should be replaced and how
Probability with which a sequence gets skipped in the codon replacement process between 0,1
immuneSIM repertoire with replaced codons
# NOT RUN { repertoire <- list_example_repertoires[["example_repertoire_A"]] rep_codon_repl <- codon_replacement(repertoire, "both", list(tat = "tac", agt = "agc", gtt = "gtg"), 0) # }
Run the code above in your browser using DataLab