cluster_genes: cluster_genes

View source: R/cluster.R

cluster_genesR Documentation

cluster_genes

Description

Cluster genes into modules using louvain/leiden algorithm

Usage

cluster_genes(x, ...)

## S3 method for class 'Seurat'
cluster_genes(
  x,
  features = NULL,
  reduction = "pca",
  assay = NULL,
  slot = "data",
  dims = 1:10,
  approx = TRUE,
  algorithm = "leiden",
  resolution = 0.6,
  return.seurat = FALSE,
  ...
)

Arguments

x

object with genes to clusters.

...

arguments passed down to methods.

features

which features to cluster.

reduction

what reduction embeddings to use.

assay

assay for Seurat objects.

slot

slot for Seurat objects.

dims

dimensions to use.

approx

whether to use approximate method for PCA.

algorithm

algorithm for clustering.

resolution

resolution for clustering.

return.seurat

whether to return a Seurat object.


ddiez/scmisc documentation built on July 21, 2024, 11:35 a.m.