View source: R/ModulePreservation.R
ModulePreservation | R Documentation |
Computes module preservation statistics in a query dataset for a given reference dataset
ModulePreservation(
seurat_obj,
seurat_ref,
name,
n_permutations = 500,
parallel = FALSE,
seed = 12345,
gene_mapping = NULL,
genome1_col = NULL,
genome2_col = NULL,
return_raw = FALSE,
wgcna_name = NULL,
wgcna_name_ref = NULL,
...
)
seurat_obj |
A Seurat object |
seurat_ref |
A Seurat object serving as the reference for the module preservation analysis |
name |
The name to give the module preservation analysis. |
n_permutations |
Number of permutations for the module preservation test. |
parallel |
logical determining whether to run preservation analysis in parallel |
seed |
random seed for the permutation analysis. |
return_raw |
if TRUE, returns the module preservation statistics, else returns seurat_obj with the stats added to the hdWGCNA experiment. |
wgcna_name |
The name of the hdWGCNA experiment in the seurat_obj@misc slot |
wgcna_name_ref |
The name of the hdWGCNA experiment in the seurat_ref@misc slot |
ModulePreservation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.