Skip to contents

Function to calculate the GC content of a given DNA sequence.

Usage

.gc_content(sequence)

Arguments

sequence

A character string representing the DNA sequence.

Value

A numeric value representing the GC content percentage of the sequence.