View source: R/ConstructTFNetwork.R
ConstructTFNetwork | R Documentation |
Construct a network of transcription factors and target genes based on gene co-expression
ConstructTFNetwork(seurat_obj, model_params, nfold = 5, wgcna_name = NULL)
seurat_obj |
A Seurat object |
model_params |
a list of model parameters to pass to xgboost |
nfold |
number of folds for cross validation |
wgcna_name |
name of the WGCNA experiment |
ConstructTFNetwork uses motif-gene information to build a directed network of transcription factors (TFs) and target genes. XGBoost regression is leveraged to model the expression of each gene based on its candidate TF regulators. This analysis gives us information about how important each TF is for predicting each gene, allowing us to prioritize the most likely regulators of each gene. This process is done on the gene expression matrix stored with SetDatExpr, which is typically the hdWGCNA metacell gene expression matrix.
seurat_obj with the TF network added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.