addStatsSimple: add PCA-based summary stats on all TFs in the model

addStatsSimple,PCAMax-methodR Documentation

add PCA-based summary stats on all TFs in the model

Description

add PCA-based summary stats on all TFs in the model

Usage

## S4 method for signature 'PCAMax'
addStatsSimple(
  obj,
  varianceToInclude = 0.75,
  scalePCA = FALSE,
  excludeLasso = TRUE,
  quiet = TRUE
)

Arguments

obj

An object of the class PCAMax

varianceToInclude

numeric variance to include in the PCA

scalePCA

logical

excludeLasso

logical excluding lasso avoids dropping TFs due to shrinkage

quiet

logical

Value

the original model with extra columns: pcaMax, cov, PC1, PC2,


PriceLab/TReNA documentation built on March 21, 2023, 1:57 p.m.