countMersCertainFirstFive: Compute Vector of counts for first five kinds of kmers

Description Usage Arguments Value Examples

View source: R/Yin-DFT-Distances-R.r

Description

Generates a vector of counts (or frequencies) for the first five k-mers (ie. 1-mers, 2-mers, ..., 5-mers) and returns the vector concatenated together.

Usage

1
countMersCertainFirstFive(genomicString, freq = FALSE)

Arguments

genomicString

The character string version of the genomic signal which the user wishes to produce the kmer vector for.

freq

Whether the user would like a vector of raw counts back or if a vector of relative frequencies.

Value

a 1364 length vector containing counts/frequencies for first five mers

Examples

1

mathornton01/Genomic-DFT-Yin-R documentation built on Dec. 21, 2021, 2:52 p.m.