Learn R Programming

PSCBS (version 0.63.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)

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.

Value

Returns a pruned object of the same class.

Examples

Run this code
# NOT RUN {
 fitP <- pruneByHClust(fit, h=0.25);
# }

Run the code above in your browser using DataLab