Description Usage Arguments Value Examples
Given a matrix of expression/alteration and the wbound value for L1 regularization, it performs a sparse hierarchical clustering.
1 2 3 4 5 | sparse_hclust(
mat_value,
wbound,
dissimilarity = c("squared.distance", "absolute.value")
)
|
mat_value |
A matrix of expression/alteration with samples as rows and features as columns. |
wbound |
A real number as the wbound used in sparse hierarchial clustering. |
dissimilarity |
A string for the type of dissimilarity, either "squared.distance" or "absolute.value". Default "squared.distance". |
hc |
An object of class hclust which describes the tree produced by the clustering process. See detail in function hclust from stats. |
weight |
The weights of features used in sparse hierachical clustering. |
features_nonzero |
Features that have nonzero weights. |
mat_value_clustered |
A matrix of values that are clustered by the sparse hierarchical clustering. |
1 2 3 4 | library(reflect)
mat_value <- egfr_data$mat_value
wbound <- 2.0
shc <- sparse_hclust(mat_value, wbound)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.