SiD.value | R Documentation |
Measure the Similarity Index (SiD) between a virus and its host codon usage.
SiD.value(rscu.host,rscu.virus)
rscu.host |
a data frame with RSCU a host codon values. |
rscu.virus |
a data frame with RSCU a virus codon values. |
For more information about SiD Zhou et al., 2013.
A numeric represent a SiD value.
Ali Mostafa Anwar ali.mo.anwar@std.agr.cu.edu.eg and Mohmed Soudy MohmedSoudy2009@gmail.com
## Not run:
# read DNA from fasta file
fasta <- fasta.read("virus.fasta", "host.fasta")
fasta.v <- fasta[[1]]
fasta.h <- fasta[[2]]
# Calculate SiD
RSCU.H <- RSCU.values(fasta.h)
RSCU.V <- RSCU.values(fasta.v)
SiD <- SiD.value(RSCU.H, RSCU.V)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.