trainModel,NCSModel-method {PDATK} | R Documentation

## Train a NetworkCommunitySearchModel

### Description

Train a NetworkCommunitySearchModel

### Usage

    ## S4 method for signature 'NCSModel'
    trainModel(object, alpha = 0.05, minRepro = 0.5, minCor = 0)

### Arguments

`object` | An `NCSModel` object, created from a `ConsensusMetaclusteringModel`.
`alpha` | A `float` specifying the significance level for cluster reproducibility. Default is 0.05.
`minRepro` | A `float` specifying the minimum in-group proportion (IGP) for a cluster to be included in the metacluster labels. Default is 0.5.
`minCor` | A `float` specifying the minimum correlation between a centroid and assay cluster to be included in the metacluster labels. Default is 0.0.

### Value

The `NCSModel` from `object` with the `networkEdges` item of the `models` slot fitlered based on the specified criteria. The criteria are also stored in the `modelParam` slots to ensure reproducibility.

[Package PDATK version 1.2.0 Index]