graph_cluster: graph_cluster

View source: R/steps.R

graph_clusterR Documentation

graph_cluster

Description

Performs graph-based clustering.

Usage

graph_cluster(ret, func = igraph::cluster_leiden, factorize = TRUE)

Arguments

ret

biotext class object

func

community detection algorithm in igraph

factorize

convert to factor upon assigning

Details

Performs graph-based clustering using igraph and stores the information in the biotext object. Default to use 'igraph::cluster_leiden'.

Value

biotext class object

Examples

testgenes <- c("IRF3","PNKP","DDX41","ERCC1","ERCC2","XRCC1")
refseq(testgenes) |> graph_cluster()

noriakis/wcGeneSummary documentation built on May 31, 2024, 4:42 p.m.