merge_duplicates: Merging the duplicates from the input matrix.

View source: R/EPIC_fun.R

merge_duplicatesR Documentation

Merging the duplicates from the input matrix.

Description

In case there are some duplicate rownames in the input matrix (mat), this function will return a similar matrix with unique rownames and the duplicate cases will be merged together based on the median values. When warn is true a warning message will be written in case there are duplicates, this warning message will include the in_type string to indicate the current type of the input matrix.

Usage

merge_duplicates(mat, warn = TRUE, in_type = NULL)

GfellerLab/EPIC documentation built on July 22, 2023, 2:06 a.m.