setVarsCandidate {mitoClone2} | R Documentation |
Sets the putative variants that we want to use for clustering
setVarsCandidate(mutcall, varlist)
mutcall |
object of class |
varlist |
vector of booleans with the names set to the variants to use for clustering |
Sets the cluster slot on a mutationCalls object
load(system.file("extdata/LudwigFig7.Rda",package = "mitoClone2")) mutations_to_cluster <- getVarsCandidate(LudwigFig7) mutations_to_cluster[] <- rep(c(TRUE,FALSE),each=19) LudwigFig7 <- setVarsCandidate(LudwigFig7,mutations_to_cluster)