project_pc: Project to new basis.

View source: R/pca.R

project_pcR Documentation

Project to new basis.

Description

Project the scaled input matrix (i.e. z-scores) onto the new basis.

Usage

project_pc(pca123_res, pc_num)

Arguments

pca123_res

A list returned by pca123.

pc_num

An integer scalar of PC number.

Value

A matrix which has columns as new features (PCs) and rows as samples.


markgene/yamatClassifier documentation built on Oct. 14, 2024, 2:36 a.m.