basecontent {oligo}R Documentation

Sequence Base Contents

Description

Function to compute the amounts of each nucleotide in a sequence.

Usage

basecontent(seq)

Arguments

seq character vector of length n containg a valid sequence (A/T/C/G)

Details

Value

matrix with n rows and 4 columns with the counts for each base.

Note

Author(s)

References

See Also

Examples

sequences <- c("ATATATCCCCG", "TTTCCGAGC")
basecontent(sequences)

[Package oligo version 1.0.2-6 Index]