basecontent: Sequence Base Contents

Description Usage Arguments Value Examples

View source: R/utils-general.R

Description

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

Usage

1

Arguments

seq

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

Value

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

Examples

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

jmacdon/oligo documentation built on Aug. 11, 2020, 12:32 a.m.