GC.content {vhcub} | R Documentation |
GC content
Description
Calculates overall GC content as well as GC at first, second, and third codon positions.
Usage
GC.content(df.virus)
Arguments
df.virus |
data frame with seq_name and its DNA sequence. |
Value
A data.frame with overall GC content as well as GC at first, second, and third codon positions of all DNA sequence from df.virus.
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]]
# Calculate GC content
gc.df <- GC.content(fasta.v)
[Package vhcub version 1.0.0 Index]