getCloneLikelihood {mitoClone2}R Documentation

mutationCalls accessors

Description

Retrieves the full matrix of likelihoods associating single cells with clones

Usage

getCloneLikelihood(mutcall, mainClones = length(mutcall@mut2clone) > 0)

getMainClone(mutcall, mainClones = length(mutcall@mut2clone) > 0)

getConfidence(mutcall, mainClones = length(mutcall@mut2clone) > 0)

getMut2Clone(mutcall)

Arguments

mutcall

object of class mutationCalls.

mainClones

Retrieve likelihoods associated with the main Clones. Defaults to TRUE if clusterMetaclones has been run.

Value

Return TRUE if clusterMetaclones has been run otherwise returns the cell by clone matrix of likelihood associating each cell to a given clone.

Functions

Examples

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

[Package mitoClone2 version 1.0.0 Index]