
Rust version of singscore for a single gene set
rs_singscore_single.Rd
Rust-based implementation of singscore for a single up-regulated gene set
with an optional paired down-regulated set.
Arguments
- ranks
Numerical matrix. The ranked expression matrix (rows = genes, columns = samples). Produce with column-wise ranks (standard) or with
rs_rank_matrix_col_stable()(stable).- up_set
Integer vector. One-indexed gene indices of the up set.
- down_set
Integer vector or NULL. One-indexed gene indices of the optional down set.
- center_score
Boolean. Centre scores around 0. Disabled internally when
known_direction = FALSE.- known_direction
Boolean. Whether the up-set direction is known. Becomes irrelevant when
down_setis also provided.- stable
Boolean. If
TRUE, use stable-gene score bounds.