ftestvect: Test a numeric vector for periodicity using the multitaper...

View source: R/periodicity_tests.R

ftestvectR Documentation

Test a numeric vector for periodicity using the multitaper package

Description

Test a numeric vector for periodicity using the multitaper package

Usage

ftestvect(psit, k = 24, bw = 12)

Arguments

psit

A list of SimpleRleLists - RPF coverage split by readlength

k
  • The number of slepians to use for the test

bw
  • The bandwidth to use for the test

Details

This function pads short vectors up to 50, and performs a multitaper test for 3bp peridicity on it's input, returning a spectral coefficient and p-value

Value

a numeric vector with the spectral coefficient at 0.333... and the pvalue for the test

Author(s)

Dermot Harnett, dermot.p.harnett@gmail.com


zslastman/RiboStan documentation built on April 6, 2024, 1:35 p.m.