Description Usage Arguments Value Examples
dycutdf
1 |
dat |
data frame or matrix |
distm |
distance measure from amap::Dist options. default is "pearson" |
clm |
clustering method select from hclust options default is "average" |
column |
column which containing expression data default 'column=1:ncol(dat)' |
method_dycut |
method of dynamic cut, otherwise k number of cuttree function. |
... |
character additional dynamicTreeCut::cutreeDynamic options. E.g. "minClusterSize = 10" |
list of results of clustering, objects was hclust, dendrogram, and list of splitted data.frame
1 2 3 4 5 6 7 8 9 10 11 12 | d <- data.frame(t(iris[-5]))
res <- dycutdf(dat = d, distm = "euclidean", clm = "average",
column = 1:150, method_dycut = "hybrid")
res[[1]] # hclust object
res[[2]] # dendrogram object
res[[3]] # result of dynamic cut object
res[[4]] # list of splitted data.frame
## The following examples takes too much times
# nfpkm <- rskodat::nfpkm
# res1 <- cornet::dycutdf(dat = nfpkm, distm = "abscorrelation", clm = "average",
# column = 5:ncol(nfpkm), method_dycut = "tree")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.