Documentation Index
Fetch the complete documentation index at: https://mintlify.com/satijalab/seurat-wrappers/llms.txt
Use this file to discover all available pages before exploring further.
RunALRA() implements the ALRA imputation algorithm. It computes a rank-k approximation of the normalized expression matrix, then adaptively thresholds values based on the distribution of negative values in the approximation. Zero values are preserved only when they are truly absent.
Syntax
Parameters
A Seurat object. Also accepts a matrix-like object when called as a default method.
Rank of the low-rank approximation. Set to
NULL for automated selection of k.Number of additional power iterations in randomized SVD when computing the rank-k approximation.
Quantile probability used to calculate the per-gene threshold.
Use the Intel MKL-based SVD implementation (requires rpca-mkl package).
Seed for the MKL SVD random generator. Any negative value uses the current timestamp. Only relevant when
use.mkl = TRUE.Name of the assay to use. Defaults to the active default assay.
Slot within the assay to use as input.
If
TRUE, sets the resulting alra assay as the default assay after imputation.Subset of genes to impute. Defaults to all genes in the assay.
Number of singular values to compute when choosing
k automatically. Must be less than the smallest matrix dimension. Defaults to 100 or the smallest dimension, whichever is less.P-value threshold for significance when choosing
k automatically.Index from which all smaller singular values are considered noise during automatic
k selection. Defaults to K - 20.Number of additional power iterations when choosing
k automatically.If
TRUE, computes the optimal k and stores it in the object without performing imputation. Use with ALRAChooseKPlot() to visualize the choice.Returns
A Seurat object with a new assay namedalra containing the imputed expression matrix. When setDefaultAssay = TRUE, this becomes the default assay. When k.only = TRUE, returns the object with the computed k stored in the tool slot.
Examples
See Also
ALRAChooseKPlot()— Visualize singular value spectrum forkselection- ALRA method guide