diff --git a/pkgdown.yml b/pkgdown.yml index 6d67a66..63e71ad 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 2.19.2 pkgdown: 2.0.7 pkgdown_sha: ~ articles: {} -last_built: 2024-02-06T10:26Z +last_built: 2024-02-06T11:11Z urls: reference: caravagnalab.github.io/rdevil/reference article: caravagnalab.github.io/rdevil/articles diff --git a/reference/fit_linear_model.html b/reference/fit_linear_model.html index 5fcd4a9..ee99046 100644 --- a/reference/fit_linear_model.html +++ b/reference/fit_linear_model.html @@ -59,12 +59,13 @@

Fit a generalized linear model for differential expression

fit_linear_model(
   input_matrix,
   model_matrix,
-  ncounts,
+  size_factors = TRUE,
   group_matrix = NULL,
   gene_specific_model_tensor = NULL,
   kernel_input = NULL,
   gene_names = NULL,
   cell_names = NULL,
+  variance = "VI_Estimate",
   inference_method = "SVI",
   method_specific_args = list()
 )
@@ -86,11 +87,9 @@

Arguments

factors, treatment groups, batch effects, ...)

-
ncounts
-

Vector with length equal to the number of cells. It -contains some kind of factor relate to the library size. For example, -it might contain the total UMI of each cell (i.e. colSums(input_matrix)) -or the UMI of each cell divided by the average across all of them.

+
size_factors
+

Boolean. Decides if a scaling factor for the +expression of each cell should be computed

group_matrix
@@ -113,6 +112,10 @@

Arguments

Vector containing the names of the cells

+
variance
+

String. Either "VI_Estimate" or "Hessian".

+ +
inference_method

String. Either "SVI" or "HMC"

@@ -126,11 +129,13 @@

Arguments

  • gamma_lr parameters to tune the decay of the learning rate using "ClippedAdam";

  • batch_size number of data points or observations sampled from the input matrix in each iteration of the optimization algorithm;

  • +
  • threshold parameters to stop the inference earlier when convergence is reached. +Default value is set to 0, i.e. all steps will be done;

  • HMC only:

    Shared:

    Shared: