dinu_dist | R Documentation |
We use a least squares approach to estimate the dinucleotide usage difference between DNA sequences
dinu_dist(seq, ref) ## S4 method for signature 'ANY' dinu_dist(seq, ref)
seq |
the input DNA sequnece of |
ref |
the reference DNA sequnece of |
similar method that applied in "Daniel Macedo de Melo Jorge, Ryan E. Mills, Adam S. Lauring, CodonShuffle: a tool for generating and analyzing synonymously mutated sequences, Virus Evolution, Volume 1, Issue 1, March 2015, vev012, https://doi.org/10.1093/ve/vev012"
vector
filepath <- system.file("extdata", "example.fasta", package = "SynMut") rgd.seq <- input_seq(filepath) get_cu(rgd.seq) mut.seq <- codon_random(rgd.seq) dinu_dist(mut.seq, rgd.seq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.