Description Usage Arguments Examples
Order factors using hierarchical clustering
1 2 | clustorder(data, features, groups, value, dst.method = "euclidean",
cl.method = "ward.D2", fill = 0, descending = TRUE, scalesel = "none")
|
data |
Data which will be used in clustering |
features |
Features to cluster (rows in heatmap) |
groups |
Groups for values which will be clustered (columns in heatmap) |
value |
Value which will be used for clustering |
dst.method |
Distance method for clustering, default: 'euclidean' |
cl.method |
Clustering method, default: 'ward.D2' |
fill |
Value used to fill NAs |
descending |
Reverse factor order? |
scalesel |
Scaling ("row","col","none"), default: "none" |
1 | clustorder(data,features,groups,value,dst.method='euclidean',cl.method='ward.D2',fill=0,descending=TRUE,scalesel='none')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.