evenlyScaleEnsemble: Evenly scale an ensemble of spectra such that their

Description Usage Details

View source: R/afgencomp.R

Description

This function will take an ensemble of genomic power spectra, and scale them all such that they are of a length equivalent to the maximum length of a sequence in the ensemble.

Usage

1
evenlyScaleEnsemble(spectraList)

Details

@param spectraList A list containing the power spectra of genomic signals for sequences of interest.

@return A list of scaled spectra all of which should be the same length.

@examples tg <- c("ACCCAAGAGAGAGCCCCCGAGAGAGAGAGAGAGAGCCCCGAGAGAGCGAGACGAGAC","TAGAGCCGAGATAGAGCCGAGAGTTAGAC","CGGAGAGNNGGAGAGCCCGAGAGTTTGAGNN") eg <- encodeGenomes(tg); ps <- getPowerSpectraEnsemble(eg); sps <- evenlyScaleEnsemble(ps); @export


mathornton01/afgencomp documentation built on Dec. 21, 2021, 2:52 p.m.