Skip to contents

Find the column of mtch.data with the most rows containing an element of ids

Usage

find_id_clm(mtch.data, ids)

Arguments

mtch.data

A data.frame

ids

A vector of row ids to match

Value

A vector of column names with the most matches.

Examples

data(omicann)
data(omicdat)
lsn.data <- omicann[[1]]
mtx.rows <- rownames(omicdat[[1]])
test <- find_id_clm(lsn.data,mtx.rows)