rank_input_matrix: Generate ranked sparse matrix

View source: R/util.r

rank_input_matrixR Documentation

Generate ranked sparse matrix

Description

This function convert a non-negative matrix into a column-ranked matrix

Usage

rank_input_matrix(mat)

Arguments

mat

The input matrix, can be dense or sparse

Value

A matrix, whose dense/sparse is the same as the input, with each column ranked


quadbiolab/simspec documentation built on March 8, 2024, 11:59 p.m.