This function merges CNV clusters in a Seurat object based on the correlation
of their average CNV profiles across chromosome arms. Clusters with correlation
greater than a user-specified threshold are merged into a single cluster.
Usage
mergeCNVClusters(seuratObj, mergeThreshold = 0.98)
Arguments
- seuratObj
A Seurat object containing fastCNV's results by chromosome arm, and CNV clustering.
- mergeThreshold
A numeric value between 0 and 1. Clusters with correlation
greater than this threshold will be merged. Default is 0.98.
Value
A Seurat Object with updated CNV clusters, where highly correlated clusters have been merged.