fit_grn_models.Rd
Fit models for gene expression
fit_grn_models(object, ...) # S3 method for SeuratPlus fit_grn_models( object, genes = NULL, network_name = paste0(method, "_network"), peak_to_gene_method = c("Signac", "GREAT"), upstream = 1e+05, downstream = 0, extend = 1e+06, only_tss = FALSE, peak_to_gene_domains = NULL, parallel = FALSE, tf_cor = 0.1, peak_cor = 0, aggregate_rna_col = NULL, aggregate_peaks_col = NULL, method = c("glm", "glmnet", "cv.glmnet", "brms", "xgb", "bagging_ridge", "bayesian_ridge"), interaction_term = ":", adjust_method = "fdr", scale = FALSE, verbose = TRUE, ... )
... | Other parameters for the model fitting function. |
---|---|
genes | A character vector with the target genes to consider for GRN inference. Takes all VariableFeatures in the object per default. |
peak_to_gene_method | Character specifying the method to link peak overlapping motif regions to nearby genes. One of 'Signac' or 'GREAT'. |
upstream | Integer defining the distance upstream of the gene to consider as potential regulatory region. |
downstream | Integer defining the distance downstream of the gene to consider as potential regulatory region. |
extend | Integer defining the distance from the upstream and downstream of the basal regulatory region.
Only used of |
only_tss | Logical. Measure distance from the TSS ( |
peak_to_gene_domains |
|
parallel | Logical. Whether to parellelize the computation with |
tf_cor | Threshold for TF - target gene correlation. |
peak_cor | Threshold for binding peak - target gene correlation. |
method | A character string indicating the method to fit the model.
|
interaction_term | The interaction term to use in the model between TF and binding site.
|
adjust_method | Method for adjusting p-values. |
scale | Logical. Whether to z-transform the expression and accessibility matrices. |
verbose | Logical. Display messages |
A SeuratPlus object.