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.
1 | evenlyScaleEnsemble(spectraList)
|
@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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.