SetupForWGCNA.Rd
Create a slot in a Seurat object to store hdWGCNA data
SetupForWGCNA(
seurat_obj,
wgcna_name,
features = NULL,
metacell_location = NULL,
...
)
A Seurat object
name of the WGCNA experiment
list of features to use for WGCNA
name of the WGCNA experiment to copy the metacell object from
additional parameters to pass to SelectNetworkGenes
SetupForWGCNA creates a new slot in the Seurat object (seurat_obj) to store an hdWGCNA experiment with a given name (wgcna_name). This function calls on SelectNetworkGenes to specify which features will be used for network analysis. If there is another hdWGCNA experiment already in the seurat_obj, the same metacell/metaspot object can be used by specifying the name of the hdWGCNA experiment to the metacell_location parameter.