u_stat_signature_list: Calculate U scores for a list of signatures, given a rank...

View source: R/HelperFunctions.R

u_stat_signature_listR Documentation

Calculate U scores for a list of signatures, given a rank matrix

Description

Calculate U scores for a list of signatures, given a rank matrix

Usage

u_stat_signature_list(
  sig_list,
  ranks_matrix,
  maxRank = 1000,
  sparse = FALSE,
  w_neg = 1
)

Arguments

sig_list

A list of signatures

ranks_matrix

Matrix of pre-computed ranks

maxRank

Max number of features to include in ranking, for u_stat function

sparse

Whether the vector of ranks is in sparse format

w_neg

Weight on negative signatures

Value

A matrix of U scores


carmonalab/UCell documentation built on Nov. 4, 2024, 5:32 p.m.