isPeriodic: Find if there is a periodicity of 3 in the vector

Description Usage Arguments Details Value

View source: R/shift_footprints_helpers.R

Description

It uses Fourier transform + periodogram for finding periodic vectors on the transcript normalized counts over all CDS regions from 0 to 149, where TIS is 0.
Checks if there is a periodicity and if the periodicity is 3, more precisely between 2.9 and 3.1.

Usage

1

Arguments

x

(numeric) Vector of values to detect periodicity of 3 like in RiboSeq data.

Details

Transcript normalized means per CDS TIS region, count reads per position, divide that number per position by the total of that transcript, then sum up these numbers per position for all transcripts.

Value

a logical, if it is periodic.


ORFik documentation built on March 27, 2021, 6 p.m.