Visual_Rslt: Using clustering results based on feature selection to...

Description Usage Arguments Value Examples

View source: R/Visual_result.R

Description

Using clustering results based on feature selection to perform model selection.

Usage

1
Visual_Rslt(model_cv_res, trueclass)

Arguments

model_cv_res

model selection result from Select_Model_short_SC3.

trueclass

The real class labels

Value

a list of mse dataframe, clustering accuracy dataframe, and ggplot object.

Examples

 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)

suke18/FEAST documentation built on Sept. 14, 2021, 12:22 a.m.