Uses L1-constrained linear models (LASSO) to impute single cell gene expression values.
AddImputedScore(object, genes.use = NULL, genes.fit = NULL, s.use = 20,
do.print = FALSE, gram = TRUE)
Seurat object
A vector of genes (predictors) that can be used for building the LASSO models.
A vector of genes to impute values for
Maximum number of steps taken by the algorithm (lower values indicate a greater degree of smoothing)
Print progress (output the name of each gene after it has been imputed).
The use.gram argument passed to lars
Returns a Seurat object where the imputed values have been added to object@imputed