runPhenograph: RphenoGraph clustering

Description Usage Arguments Value Examples

View source: R/cluster.R

Description

A simple R implementation of the phenograph [PhenoGraph](http://www.cell.com/cell/abstract/S0092-8674(15)00637-6) algorithm, which is a clustering method designed for high-dimensional single-cell data analysis. It works by creating a graph ("network") representing phenotypic similarities between cells by calculating the Jaccard coefficient between nearest-neighbor sets, and then identifying communities using the well known [Louvain method](https://sites.google.com/site/findcommunities/) in this graph.

Usage

1
runPhenograph(object, knn = 30, scale = FALSE, verbose = FALSE, ...)

Arguments

object

an FSPY object.

knn

numeric. Number of nearest neighbours, default is 30.

scale

logical. Whether to scale the expression matrix

verbose

logical. Whether to print calculation progress.

...

Parameters passing to igraph function

Value

An FSPY object with cluster

Examples

1
2
3
if (FALSE) {
fspy <- runPhenograph(fspy, knn = 30, verbose = TRUE)
}

flowSpy documentation built on Nov. 8, 2020, 6:53 p.m.