Description Usage Arguments Value Examples
View source: R/Visual_result.R
Using clustering results based on feature selection to perform model selection.
1 | Visual_Rslt(model_cv_res, trueclass)
|
model_cv_res |
model selection result from |
trueclass |
The real class labels |
a list of mse dataframe, clustering accuracy dataframe, and ggplot object.
1 2 3 4 5 6 7 8 9 10 11 12 | data(Yan)
k = length(unique(trueclass))
Y = process_Y(Y, thre = 2) # preprocess the data
set.seed(123)
rixs = sample(nrow(Y), 500)
cixs = sample(ncol(Y), 40)
Y = Y[rixs, ]
con_res = Consensus(Y, k=k)
# Not run
# mod_res = Select_Model_short_SC3(Y, cluster = con_res$cluster, top = c(100, 200))
library(ggpubr)
# Visual_Rslt(model_cv_res = mod_res, trueclass = trueclass)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.