quick_cluster: Quick clustering of mutations

View source: R/clustering.R

quick_clusterR Documentation

Quick clustering of mutations

Description

Performs a quick hierarchical clustering on a object of class mutationCalls. See varCluster for an alternative that infers mutational trees and uses sound models of dropout.

Usage

quick_cluster(mutcalls, binarize = FALSE, drop_empty = TRUE, ...)

Arguments

mutcalls

object of class mutationCalls.

binarize

If FALSE, will use raw allele frequencies for the clustering. If TRUE, will use binarized mutation/reference/dropout calls.

drop_empty

Remove all rows in the provided mutcalls object where no cells exhibit a mutation.

...

Parameters passed to pheatmap

Value

The result of running pheatmap

Examples

load(system.file("extdata/LudwigFig7.Rda",package = "mitoClone2"))
quickCluster <- quick_cluster(LudwigFig7)

benstory/mitoClone2 documentation built on Oct. 30, 2024, 3:20 p.m.