addStatsSimple,PCAMax-method {trena} | R 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,

[Package trena version 1.14.0 Index]