find_id_clm: Find the column of mtch.data with the most rows containing an...

View source: R/find_id_clm.R

find_id_clmR Documentation

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

Description

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)

BEAMR documentation built on Sept. 11, 2024, 7:48 p.m.