corheat | R Documentation |
Gene clustering for RNA-seq data and cutting cluster with dynamic cut
corheat(dat, distm, clm, method_dycut, draw)
dat |
RNA-seq count data(row:sample, column:gene) |
distm |
select from c("pearson", "abspearson", "squarepearson", "spearman") |
clm |
clustering method of hclust |
method_dycut |
method of 'cutreeDynamic' select from "tree", or "hybrid |
draw |
logical draw heatmap or nod. |
draw heatmap and results of dynamic cut
## Not run: # data: normalized fpkm nfpkm <- as.data.frame(rskodat::nfpkm) res.dcut <-cornet::dycutdf(nfpkm[-1:-4], distm = "correlation") cl_dat <- res.dcut$cluster_dat corheat with dynamic tree cut res <- corheat(dat = nfpkm[-1:-4], distm = "correlation", clm = "average", method_dycut = "tree", draw = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.