powered by
Prunes the CN profile by pruning and merging through hierarchical clustering.
# S3 method for AbstractCBS pruneByHClust(fit, ..., size=NULL, distMethod="euclidean", hclustMethod="ward.D", merge=TRUE, update=TRUE, verbose=FALSE)
Arguments passed to cutree, particularly either of thresholds h or k.
cutree
h
k
Arguments (as well as some of ...) passed to *hclustCNs().
...
*hclustCNs()
If TRUE, consecutive segments that belong to the same PSCN cluster will be merged into one large segment.
TRUE
If TRUE, segment means are updated afterwards, otherwise not.
See Verbose.
Verbose
Returns a pruned object of the same class.
# NOT RUN { fitP <- pruneByHClust(fit, h=0.25); # }
Run the code above in your browser using DataLab