Description Usage Arguments Details Examples
Save plots of multiple mclust models in a grid image
1 | save_mclust_plots(filename, models, xlab = "contribution", ylab = "density")
|
filename |
file name to save plots |
models |
list of Mclust models |
xlab |
label for x axis |
ylab |
label for y axis |
If list contains more than 60 models, the function will return more than one png file, each next file will contain next (up to) 60 images. (File names will get suffices "_i", i = 1,2,3,...)
1 2 3 4 5 6 | file_name <- system.file("extdata", "BBB_frag_contributions.txt", package = "rspci")
df <- load_data(file_name)
df <- dplyr::filter(df, Model == "consensus", Property == "overall")
df <- add_full_names(df)
models <- clust_all(df, "full_name")
save_mclust_plots("models.png", models)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.