to_indicator_matrix: Convertes numerical matrix to an indicator matrix

View source: R/utils_matrix.R

to_indicator_matrixR Documentation

Convertes numerical matrix to an indicator matrix

Description

Users can select numerical matrix and upload a matrix of numerical values, e.g. p-values or fold changes. These can then be converted to an indicator matrix on the fly with a user-defined threshold.

Usage

to_indicator_matrix(numerical_matrix, operator = "<", threshold = 0.05)

Arguments

numerical_matrix

Numerical matrix provided as data.frame. The first row consists of gene_ids and the matrix must not have a header.

operator

Operator for converting the matrix. Either "<" or ">".

threshold

Threshold to use for converting the matrix.

Value

Indicator matrix.


baumbachlab/keypathwayminer-R documentation built on June 29, 2023, 11:21 a.m.