hclust_haystack_raw.Rd
Function for hierarchical clustering of genes according to their distribution on a 2D plot.
hclust_haystack_raw(x, y, detection, genes, method = "ward.D")
x-axis coordinates of cells in a 2D representation (e.g. resulting from PCA or t-SNE)
y-axis coordinates of cells in a 2D representation
A logical matrix showing which genes (rows) are detected in which cells (columns)
A set of genes (of the 'detection' data) which will be clustered.
The method to use for hierarchical clustering. See '?hclust' for more information. Default: "ward.D".
An object of class hclust, describing a hierarchical clustering tree.