Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

stftcalc

calculate the fft components


Description

stftcalc calculating the short time fourier transform component

Usage

stftcalc(
  X,
  win = 10,
  inc = win/2,
  coef = Inf,
  wtype = "hanning.window",
  freq,
  centre = T,
  calc.null = F,
  pvalues = F,
  time = NULL,
  reassign = T,
  quiet = F
)

Arguments

win

Window size in number of recordings to use.

inc

increment size from one window to the next

coef

Number of fourier frequencies to compute. Small values will remove the higher frequencies from the processed object. Defaults to the maximum, win/2.

wtype

Window type for the STFT calculation.

freq

frequency of dataset. If missing and length(time) > 1, freq =(length(time) -1) /( max(time) - min(time) ) If just missing, freq = 1

centre

If TRUE (Default), centre the data in each window before processing is done. Useful for avoiding excessively large DC offset coefficients in results.

calc.null

If TRUE (Defaults to FALSE), compute a 'null' STFT by resampling the data completely, then doing a STFT.

pvalues

If TRUE (Defaults to FALSE) Compute bootstrapped pvalues for each position by resampling within each window and applying a wilcox test.

time

Allows the user to set an overriding timestamp vector to be used for processing.

reassign

logical. If TRUE, compute the time-reassigned STFT. For type %in% c("mv", "sum"), this is done with the first coordinate in mv.indices.

quiet

If TRUE, suppress output.

x

The dataset to be processed


GENEAread

Package for Reading Binary Files

v2.0.9
GPL-2 | GPL-3
Authors
Zhou Fang [aut], Joss Langford [aut], Charles Sweetland [aut, cre]
Initial release
2020-11-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.