get_heatmap_by_cov {BMRMM} R Documentation

## Duration Times Plot: Heat-map of Mixture Probabilities for Different Covariates

### Description

Print and plot the heat-map of mixture probabilities for covariate levels

### Usage

get_heatmap_by_cov(
results,
cov_labels = NULL,

### Details

Print a matrix for each covariate. Each matrix has K rows, where K is the number of components. The number of columns of a matrix equals to the total number of levels of the covariate.

### Value

No return value, called for printing and plotting heatmaps for mixture probabilities for each covariate.

### Examples

results <- BMRMM(foxp2_sm,num_cov=2,simsize=50)
get_heatmap_by_cov(results$results_duration) get_heatmap_by_cov(results$results_duration,cov_index=c(1,2))


[Package BMRMM version 0.0.1 Index]