SiD.value: Similarity Index (SiD)

View source: R/SiD.value.R

SiD.valueR 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

## 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)

AliYoussef96/vhcub documentation built on Feb. 1, 2024, 6:55 p.m.