View source: R/hclust_in_grp.R
hclust_in_grp | R Documentation |
Hierarchical cluster analysis in each group.
hclust_in_grp(
object,
grp,
sc = c("ctr", "z", "none"),
clip = NA,
dist.method = "euclidean",
hc.method = "ward.D2"
)
object |
Matrix-like object with features (e.g. genes) as rows and samples as columns. |
grp |
Vector of sample groups. These must be valid variable names in R and the same length as
|
sc |
Row scaling. Should rows be centered ('ctr'), z-scored ('z'), or neither ('none'). |
clip |
Values with magnitude > |
dist.method |
The distance measure to be used. |
hc.method |
The agglomeration method to be used. |
Vector of the labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.