viterbiClonalCN(data, convergeParams, genotypeParams = NULL)
list
object that contains the components for the data to be analyzed. chr
, posn
, ref
, and tumDepth
that can be obtained using loadAlleleCounts
, and logR
that can be obtained using correctReadDepth
and getPositionOverlap
(see Example).
list
object that is returned from the function runEMclonalCN
in TitanCNA.
convergeParams
does not contain a genotypeParams
element, then the user can pass this as an argument.
numeric array
containing the integer states corresponding to each data point in data
.
outputTitanResults
after.
outputTitanResults
, loadAlleleCounts
data(EMresults)
#### COMPUTE OPTIMAL STATE PATH USING VITERBI ####
optimalPath <- viterbiClonalCN(data, convergeParams)
Run the code above in your browser using DataLab