Description Usage Arguments Value Examples
Plot mclust model
1 2 3 4 5 6 7 | plot_mclust(
model,
binwidth = 0.1,
title = NULL,
xlab = "Contribution",
ylab = "density"
)
|
model |
mclust model object |
binwidth |
width of bins on histogram |
title |
plot title |
xlab |
label of x axis |
ylab |
label of y axis |
Plot with the histogram of occurence of fragment contributions, its kernel density esitmate (dashed) and gaussians detected by a model (color solid)
1 2 3 4 5 | file_name <- system.file("extdata", "BBB_frag_contributions.txt", package = "rspci")
df <- load_data(file_name)
dx <- dplyr::filter(df, FragID == "OH (aliphatic)", Model == "consensus", Property == "overall")
m <- clust(dx$Contribution, dx$MolID)
plot_mclust(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.