regionAnalysis | R Documentation |
Generates summary metrics for HMM regions
regionAnalysis(originalDF,dataframeList)
originalDF |
Original imported dataframe from tLOHCalcUpdated |
dataframeList |
List of HMM state determination dataframes from the run_HMM series of functions |
Output is a dataframe containing region metrics and data for each HMM segment
Michelle Webb
data('humanGBMsampleAC') data('initialStartProbabilities') df <- tLOHCalcUpdate(humanGBMsampleAC,1.25,1.25,500,500,4) dataframeList <- prepareHMMdataframes(df) trProbs <- cbind(c(0.8999,0.1001),c(0.1001,0.8999)) dataframeList2 <- runHMM_1(dataframeList, initialStartProbabilities, trProbs) dataframeList3 <- runHMM_2(dataframeList2) output <- runHMM_3(dataframeList3) final <- regionAnalysis(dataframeList,output)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.