kmeans_haystack_raw.Rd
Function for k-means clustering of genes according to their distribution on a 2D plot.
kmeans_haystack_raw(x, y, detection, genes, k, ...)
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 number of clusters to return.
Additional parameters which will be passed on to the kmeans function.
An object of class kmeans, describing a clustering into 'k' clusters