Learn R Programming

PSCBS (version 0.67.0)

pruneByHClust.AbstractCBS: Prunes the CN profile by pruning and merging through hierarchical clustering

Description

Prunes the CN profile by pruning and merging through hierarchical clustering.

Usage

# S3 method for AbstractCBS
pruneByHClust(fit, ..., size=NULL, distMethod="euclidean", hclustMethod="ward.D",
  merge=TRUE, update=TRUE, verbose=FALSE)

Value

Returns a pruned object of the same class.

Arguments

...

Arguments passed to cutree, particularly either of thresholds h or k.

size, distMethod, hclustMethod

Arguments (as well as some of ...) passed to *hclustCNs().

merge

If TRUE, consecutive segments that belong to the same PSCN cluster will be merged into one large segment.

update

If TRUE, segment means are updated afterwards, otherwise not.

verbose

See Verbose.

Author

Henrik Bengtsson

Examples

Run this code
if (FALSE) {
 fitP <- pruneByHClust(fit, h=0.25)
}

Run the code above in your browser using DataLab