cor_fast: Computes a Pearson

View source: R/RcppExports.R

cor_fastR Documentation

Computes a Pearson

Description

This function calculates a Pearson correlation matrix

Usage

cor_fast(x, n_cores)

Arguments

x

The input matrix, where each column represents a set of observations.

n_cores

The number of CPU cores to utilize for parallel computation (optional, defaults to 1).

Value

A Pearson correlation matrix if 'useRanks' is 'false'. If 'useRanks' is 'true', returns a Spearman correlation matrix.


khazum/ccImpute documentation built on July 26, 2024, 1:13 a.m.