phaseLockingMatrix: pahseLocking calculation for matrix

Description Usage Arguments Value References Examples

View source: R/phase_locking.R

Description

pahseLocking is written for testing purposes. if we are calculating phase locking for a large matrix, running it per pair is slow

Usage

1
phaseLockingMatrix(x, n = 1, m = 1, method = "strobo")

Arguments

x

- a matrix, rows are genes, columns are sorted by time

n

- time period tatio

m

- time period tatio

method

- one in c(entrophy, gamma, strobo)

Value

list with 4 matrices

1. entropy rho 2. gamma 3. Strobo index lambda 4. Strobo index angle

References

[1]

Examples

1
2
3
4
x <- replicate(100, rnorm(20))
n=1
m=1
phaseLockingMatrix(x, n, m)

NIHBiSB/CoSync-Test documentation built on May 7, 2019, 6:02 p.m.