GC.content | R Documentation |
Calculates overall GC content as well as GC at first, second, and third codon positions.
GC.content(df.virus)
df.virus |
data frame with seq_name and its DNA sequence. |
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.
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 GC content
gc.df <- GC.content(fasta.v)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.