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

# S4 method for 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,