Learn R Programming

scTenifoldNet (version 1.4)

pcNetCoreRcpp: Core PC Network computation (C++ backend)

Description

Computes the gene coefficient matrix using principal component regression. For each gene K, regresses it against principal components derived from all other genes via truncated SVD.

Usage

pcNetCoreRcpp(X_std, nComp)

Value

A numeric matrix (n_genes x (n_genes - 1)) of regression coefficients.

Arguments

X_std

A standardized numeric matrix (samples x genes), centered and scaled by column.

nComp

Number of principal components to use.