hiddenMarkovAnalysis | R Documentation |
Applies the depmixS4 method of HMM Analysis on tLOHCalcUpdate output to obtain segments, noted by the output 'state' column
hiddenMarkovAnalysis(df, initProbs, trProbs)
df |
A dataframe output by tLOHCalcUpdate |
initProbs |
Dataframe containing 22 rows and two columns, initProb1 and initProb2. Each row represents a chromosome in sequential order, with initProb1 being the probability of state1 and initProb2 being the probability of state2. |
trProbs |
Matrix of transition start probabilities for HMM |
Output is a dataframe containing HMM analysis output and tLOHCalcUpdate output summary
Michelle Webb
data('humanGBMsampleAC') data('initialStartProbabilities') df <- tLOHCalcUpdate(humanGBMsampleAC,1.25,1.25,500,500,4) trProbs <- cbind(c(0.8999,0.1001),c(0.1001,0.8999)) output <- hiddenMarkovAnalysis(df,initialStartProbabilities,trProbs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.