
Identify hotspot gene clusters
generate_hotspot_membership.RdIdentify hotspot gene clusters
Usage
generate_hotspot_membership(x, fdr_threshold = 0.05, min_size = 10L)
# S3 method for class 'Hotspot'
generate_hotspot_membership(x, fdr_threshold = 0.05, min_size = 10L)Examples
# cluster the local gene-gene correlations into modules
sc <- demo_single_cells()
hs <- hotspot_gene_cor_sc(sc, .verbose = FALSE)
generate_hotspot_membership(hs)
#> Hotspot gene-gene local correlation results
#> Genes: 50
#> Cells: 500
#> Modules: 3 (31 genes assigned, 19 unassigned)
unlink(sc@dir_data, recursive = TRUE, force = TRUE)