getCloneLikelihood {mitoClone2} | R Documentation |
Retrieves the full matrix of likelihoods associating single cells with clones
getCloneLikelihood(mutcall, mainClones = length(mutcall@mut2clone) > 0) getMainClone(mutcall, mainClones = length(mutcall@mut2clone) > 0) getConfidence(mutcall, mainClones = length(mutcall@mut2clone) > 0) getMut2Clone(mutcall)
mutcall |
object of class |
mainClones |
Retrieve likelihoods associated with the main
Clones. Defaults to |
Return TRUE
if clusterMetaclones
has
been run otherwise returns the cell by clone matrix of
likelihood associating each cell to a given clone.
getMainClone
: Retrieve the most likely clone
associate with each cell.
getConfidence
: Retrieve the likelihood of the most
likely clone for each cell.
getMut2Clone
: Retrieve the assignment of mutations
to clones, once clusterMetaclones
has been run.
load(system.file("extdata/LudwigFig7.Rda",package = "mitoClone2")) likelihood_matrix <- getCloneLikelihood(LudwigFig7)