Learn R Programming

fastCorrDiff (version 0.5)

sampling.ER: Internal functions for intermediate computation

Description

Internal functions for intermediate computation

Usage

sampling.ER(n, rho)
psd.sqrt(X, inv = FALSE, K = NULL)
ind1toind2(index, nc, nr)
fast.Correlation(X1, rho)

Arguments

n

number of total length of indices

rho

sampling probability

X

Matrix to for which square root matrix is calculated

inv

Whether to calculate its inverse sqrt

K

Rank K is low-rank approximation is desired

index

vector index

nc

number of columns

index

number of rows

X1

Matrix of the first group of observations. Each row is variable and each column is an observation. Note that this is different from the usual way of statistical data matrices, because usually number of variables is much larger than the number of observations in this case.

References

Tianxi Li, Xiwei Tang, and Ajay Chatrath. Compressed spectral screening for large-scale differential correlation analysis with application in selecting Glioblastoma gene modules. arXiv preprint arXiv:2111.03721, 2021.