heatmapTransitionProbs {chromstaR} | R Documentation |
Plot a heatmap of transition probabilities for a multiHMM
model.
heatmapTransitionProbs(model = NULL, reorder.states = TRUE, transitionProbs = NULL)
model |
A |
reorder.states |
Whether or not to reorder the states. |
transitionProbs |
A matrix with transition probabilities where |
A ggplot
object.
## Get an example multiHMM ## file <- system.file("data","multivariate_mode-combinatorial_condition-SHR.RData", package="chromstaR") model <- get(load(file)) ## Plot transition probabilites as heatmap heatmapTransitionProbs(model, reorder.states=TRUE)