SiD.value {vhcub} | R Documentation |
Similarity Index (SiD)
Description
Measure the Similarity Index (SiD) between a virus and its host codon usage.
Usage
SiD.value(rscu.host,rscu.virus)
Arguments
rscu.host |
a data frame with RSCU a host codon values. |
rscu.virus |
a data frame with RSCU a virus codon values. |
Details
For more information about SiD Zhou et al., 2013.
Value
A numeric represent a SiD value.
Author(s)
Ali Mostafa Anwar ali.mo.anwar@std.agr.cu.edu.eg and Mohmed Soudy MohmedSoudy2009@gmail.com
Examples
# read DNA from fasta file
fasta <- fasta.read("virus.fasta", "host.fasta")
fasta.v <- fasta[[1]]
fasta.h <- fasta[[2]]
RSCU.H <- RSCU.values(fasta.h)
RSCU.V <- RSCU.values(fasta.v)
# Calculate SiD
SiD <- SiD.value(RSCU.host, RSCU.virus)
[Package vhcub version 1.0.0 Index]