setVarsCandidate: mutationCalls cluster setter

View source: R/classes.R

setVarsCandidateR Documentation

mutationCalls cluster setter

Description

Sets the putative variants that we want to use for clustering

Usage

setVarsCandidate(mutcall, varlist)

Arguments

mutcall

object of class mutationCalls.

varlist

vector of booleans with the names set to the variants to use for clustering

Value

Sets the cluster slot on a mutationCalls object

Examples

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)

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