powered by
Calculates the percentage of nucleotides in a DNA sequence that are either guanine (G) or cytosine (C).
gc_content(sequence)
A numeric value representing the percentage of nucleotides in the sequence that are G or C.
A character string containing the DNA sequence.
sequence <- "ATCGAGCTAGCTAGCTAGCTAGCT" gc_content(sequence) 50
Run the code above in your browser using DataLab