get_gene_modules: Compute WGCNA gene modules for each cell type

View source: R/get_LR_interact.R

get_gene_modulesR Documentation

Compute WGCNA gene modules for each cell type

Description

Compute WGCNA gene modules for each cell type

Usage

get_gene_modules(container, sft_thresh)

Arguments

container

environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses

sft_thresh

numeric A vector indicating the soft threshold to use for each cell type. Length should be the same as container$experiment_params$ctypes_use

Value

The project container with WGCNA gene co-expression modules added. The module eigengenes for each cell type are in container$module_eigengenes, and the module genes for each cell type are in container$module_genes.


scITD documentation built on Sept. 8, 2023, 5:11 p.m.