Select_Model_short_SC3 {FEAST} | R Documentation |
Using clustering results based on feature selection to perform model selection.
Select_Model_short_SC3(Y, cluster, tops = c(500, 1000, 2000))
Y |
A gene expression matrix |
cluster |
The initial cluster labels NA values are allowed. This can directly from the |
tops |
A numeric vector containing a list of numbers corresponding to top genes; e.g., tops = c(500, 1000, 2000). |
mse and the SC3 clustering result.
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, cixs] con_res = Consensus(Y, k=k) # not run # mod_res = Select_Model_short_SC3(Y, cluster = con_res$cluster, top = c(100, 200))