Deconvolution Analysis using AutoGeneS
deconvolute_autogenes(
bulk_gene_expression,
signature,
model = c("nusvr", "nnls", "linear"),
nu = 0.5,
C = 0.5,
normalize_results = TRUE,
kernel = "linear",
degree = 3,
gamma = "scale",
coef0 = 0,
shrinking = TRUE,
tol = 0.001,
cache_size = 200,
max_iter = -1,
weights = NULL,
index = NULL,
close_to = NULL,
verbose = FALSE
)
A matrix of bulk data. Rows are genes, columns are samples. Row and column names need to be set.
Path to a .pickle file, created with the build_model method of AutoGeneS.
Regression model. Available options: NuSVR ("nusvr"), non-negative least squares("nnls") and linear model ("linear").
Nu parameter for NuSVR.
C parameter for NuSVR.
wether to normalize results according to the regression model used. Default is TRUE
Kernel parameter for NuSVR.
Degree parameter for NuSVR.
Gamma parameter for NuSVR.
Coef0 parameter for NuSVR.
Shrinking parameter for NuSVR.
Tol parameter for NuSVR.
Cache_size parameter for NuSVR.
Max_iter parameter for NuSVR.
Select Solution: Weights with which to weight the objective values. For example, (-1,2) will minimize the first objective and maximize the the second (with more weight).
Select Solution: If one int is passed, return pareto[index] If two ints are passed, the first is an objective (0 for the first). The second is the nth element if the solutions have been sorted by the objective in ascending order. For example, (0,1) will return the solution that has the second-lowest value in the first objective. (1,-1) will return the solution with the highest value in the second objective.
Select Solution: Select the solution whose objective value is close to a certain value. Assumes (objective,value). For example, (0,100) will select the solution whose value for the first objective is closest to 100.
Whether to produce an output on the console.
A list with two elements: 'proportions' is the matrix of cell proportions and 'genes_used' is a vector containing the names of the genes used for the deconvolution, what is called "solution" by AutoGeneS.