hclust_haystack.Rd
Function for hierarchical clustering of genes according to their expression distribution in 2D or multi-dimensional space
hclust_haystack(
x,
expression,
grid.coordinates,
hclust.method = "ward.D",
cor.method = "spearman",
...
)
# S3 method for matrix
hclust_haystack(
x,
expression,
grid.coordinates,
hclust.method = "ward.D",
cor.method = "spearman",
...
)
# S3 method for data.frame
hclust_haystack(
x,
expression,
grid.coordinates,
hclust.method = "ward.D",
cor.method = "spearman",
...
)
a matrix or other object from which coordinates of cells can be extracted.
expression matrix.
coordinates of the grid points.
method used with hclust.
method used with cor.
further parameters passed down to methods.