View source: R/ModuleTraitCorrelation.R
ModuleTraitCorrelation | R Documentation |
Correlates categorical and numeric variables with Module Eigengenes or hub-gene scores.
ModuleTraitCorrelation(
seurat_obj,
traits,
group.by = NULL,
features = "hMEs",
cor_method = "pearson",
subset_by = NULL,
subset_groups = NULL,
wgcna_name = NULL,
...
)
seurat_obj |
A list of column names in the Seurat object's metadata that you wish to correlate with each module. Traits must be a categorical variable (not a character vector), or a numeric variable. |
features |
Which features to use to summarize each modules? Valid choices are hMEs, MEs, or scores |
wgcna_name |
The name of the hdWGCNA experiment in the seurat_obj@misc slot |
cor_meth |
Which method to use for correlation? Valid choices are pearson, spearman, kendall. |
ModuleTraitCorrelation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.