filter.pca: filter.pca

View source: R/fs_functions.R

filter.pcaR Documentation

filter.pca

Description

Compute Principal Components from input matrix. Control how many components must be returned.

Usage

filter.pca(features, center = TRUE, scale = TRUE, cum.var.cutoff = 1)

Arguments

features

A numeric matrix as input.

center

Must the features be centered (default TRUE).

scale

Must the features be scaled (default TRUE).

cum.var.cutoff

Cumulative variance proportion cutoff. Used to return the Principal Componets (PCs) which satisfies that value. If 1 (default), all PCs will be returned.

Value

A matrix of Principal components.


enriquea/feseR documentation built on Feb. 25, 2025, 12:20 a.m.