wcor: Weighted cross correlation

View source: R/scoexp.R

wcorR Documentation

Weighted cross correlation

Description

Weighted cross correlation

Usage

wcor(X, W, method = c("pearson", "spearman")[1], na_zero = T)

Arguments

X

Expression matrix, n X p

W

Weight matrix, n X n

method

Correlation method, pearson or spearman

na_zero

Na to zero

Value

Weighted correlation matrix, p X p

Examples

wcor(X=expr_test, W=rbfk_out, method='spearman')

navinlabcode/CellTrek documentation built on April 15, 2022, 8:04 a.m.