rank_matrix: rank_matrix

View source: R/utils.R

rank_matrixR Documentation

rank_matrix

Description

Utility function to rank columns of matrix

Usage

rank_matrix(X)

## S3 method for class 'dgCMatrix'
rank_matrix(X)

## S3 method for class 'matrix'
rank_matrix(X)

Arguments

X

feature by observation matrix.

Value

List with 2 items

  • X_ranked - matrix of entry ranks

  • ties - list of tied group sizes

Examples


data(exprs)
rank_res <- rank_matrix(exprs)


immunogenomics/presto documentation built on March 26, 2024, 8:18 a.m.