opt_setting | R Documentation |
Bar plots of co-clustering optimization results.
opt_setting(df.res, nas, summary = "mean")
df.res |
A |
nas |
The target metrics, which are column names of |
summary |
The method to summarize ranks of |
An object of ggplot.
Jianhai Zhang jzhan067@ucr.edu
Dr. Thomas Girke thomas.girke@ucr.edu
set.seed(10)
dimred <- c('PCA', 'UMAP'); dims <- seq(5, 80, 15)
graph <- c('knn', 'snn'); cluster <- c('wt', 'fg', 'le')
df.para <- expand.grid(dataset=c('dataset1', 'dataset2'), norm='FCT', fil='fil1', dimred=dimred, dims=dims, graph=graph, cluster=cluster, stringsAsFactors = FALSE)
df.para$auc <- round(runif(nrow(df.para), 0, 1), 2)
df.para$accuracy <- round(runif(nrow(df.para), 0, 1), 2)
df.para[1:5, ]
opt_setting(df.para, nas=c('auc', 'accuracy'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.