kmeans_haystack: Function for k-means clustering of genes according to their...

View source: R/s3.R

kmeans_haystackR Documentation

Function for k-means clustering of genes according to their expression distribution in 2D or multi-dimensional space

Description

Function for k-means clustering of genes according to their expression distribution in 2D or multi-dimensional space

Usage

kmeans_haystack(x, expression, grid.coordinates, k, ...)

## S3 method for class 'matrix'
kmeans_haystack(x, expression, grid.coordinates, k, ...)

## S3 method for class 'data.frame'
kmeans_haystack(x, expression, grid.coordinates, k, ...)

Arguments

x

a matrix or other object from which coordinates of cells can be extracted.

expression

expression matrix.

grid.coordinates

coordinates of the grid points.

k

number of clusters.

...

further parameters passed down to methods.


alexisvdb/singleCellHaystack documentation built on Jan. 17, 2024, 10:45 a.m.