countFFMersEnsemble: Count the first five mers for an ensemble of strings

Description Usage Arguments Value Examples

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

Description

Generates a matrix of size 1364 by number of samples, that will contain counts/frequencies for the first five k-mers for an ensemble of genomic signals.

Usage

1
countFFMersEnsemble(genomicStrings, freq = FALSE)

Arguments

genomicStrings

A list of character strings representing the genomic signals of interest.

freq

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

Value

a 1364 by number of sequences matrix containing the first five mer counts for all of the sequences in "genomicStrings".

Examples

1
countFFMersEnsemble(sarscvmay[1:5,]$sequences);

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