validateModel-ConsensusMetaclusteringModel-ConsensusMetaclusteringModel-method: Compute the Inter-Cohort Cluster Correlation and Clustering...

Description Usage Arguments Value

Description

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

Usage

1
2
3
## 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.


bhklab/PDATK documentation built on Dec. 27, 2021, 7:46 a.m.