quick_cluster {mitoClone2}R 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)

[Package mitoClone2 version 0.99.20 Index]