validateModel,ConsensusMetaclusteringModel,ConsensusMetaclusteringModel-method {PDATK} | R Documentation

## Compute the Inter-Cohort Cluster Correlation and Clustering Reproducibility of All Clusters in Each Cohort.

### Description

Compute the Inter-Cohort Cluster Correlation and Clustering Reproducibility of All Clusters in Each Cohort.

### Usage

    ## S4 method for signature
    ## 'ConsensusMetaclusteringModel,ConsensusMetaclusteringModel'
    validateModel(model, valData, ...)

### Arguments

`model` | A `ConsensusMetaclusteringModel` object with cluster_labels in assigned to each experiment, as returned by `predictClasses`.
`valData` | A `ConsensusMetaclusteringModel` object with cluster_labels assigned to each experiment, as returned by `predictClasses`. This consensus cluster should contain outgroup cohorts, such as normal patients to be compared against the disease cohorts being used for class discovery.
`...` | Fallthrough parameters to `BiocParallel::bpmapply`. This can also be used to customize the call to `stats::cor.test` used for calculating the cluster thresholds.

### Value

The `ConsensusMetaclusteringModel` from object, with the training data from `valData` in the `validationData` slot, the models from the `valData` object appended to the `models` of object, and the `validationStats` slot populated with pair-wise comparisons between all experiments in both `model` and `valData`.

[Package PDATK version 1.2.0 Index]